1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p bundler bundix
7 cd pkgs/development/ruby-modules/with-packages
8 rm -f gemset.nix Gemfile.lock
9 # Since bundler 2+, the lock command generates a platform-dependent
10 # Gemfile.lock, hence causing to bundix to generate a gemset tied to the
11 # platform from where it was executed.
12 BUNDLE_FORCE_RUBY_PLATFORM=1 bundle lock
14 mv gemset.nix ../../../top-level/ruby-packages.nix