mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
51edcce46c
Fixes #55458. Fixes #55461.
12 lines
243 B
Plaintext
Executable File
12 lines
243 B
Plaintext
Executable File
#!/usr/bin/env nix-shell
|
|
#! nix-shell -i bash -p bash ruby bundler bundix
|
|
|
|
BUNDIX_CACHE="$(mktemp -d)"
|
|
|
|
rm -f Gemfile.lock
|
|
bundler package --path "$BUNDIX_CACHE"
|
|
bundix --bundle-pack-path="$BUNDIX_CACHE"
|
|
|
|
rm -rf "$BUNDIX_CACHE"
|
|
rm -rf .bundle
|