nixpkgs/pkgs/development/interpreters/ruby/bundler.nix
Nikolay Amiantov 250a39dc79 bundler: update
2015-04-05 16:04:54 +03:00

14 lines
341 B
Nix

{ buildRubyGem, coreutils }:
buildRubyGem {
name = "bundler-1.9.2";
sha256 = "0ck9bnqg7miimggj1d6qlabrsa5h9yaw241fqn15cvqh915209zk";
dontPatchShebangs = true;
postInstall = ''
find $out -type f -perm +0100 | while read f; do
substituteInPlace $f \
--replace "/usr/bin/env" "${coreutils}/bin/env"
done
'';
}