nixpkgs/pkgs/development/interpreters/ruby/bundler.nix

14 lines
341 B
Nix
Raw Normal View History

2014-12-31 03:05:00 +01:00
{ buildRubyGem, coreutils }:
2014-10-31 02:44:57 +01:00
buildRubyGem {
2015-04-02 13:44:33 +02:00
name = "bundler-1.9.2";
sha256 = "0ck9bnqg7miimggj1d6qlabrsa5h9yaw241fqn15cvqh915209zk";
2014-10-31 02:44:57 +01:00
dontPatchShebangs = true;
2014-12-31 03:05:00 +01:00
postInstall = ''
find $out -type f -perm +0100 | while read f; do
substituteInPlace $f \
--replace "/usr/bin/env" "${coreutils}/bin/env"
done
'';
2014-10-31 02:44:57 +01:00
}