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

15 lines
360 B
Nix
Raw Normal View History

2014-12-31 02:05:00 +00:00
{ buildRubyGem, coreutils }:
2014-10-31 01:44:57 +00:00
buildRubyGem {
2015-04-02 11:44:33 +00:00
name = "bundler-1.9.2";
namePrefix = "";
2015-04-02 11:44:33 +00:00
sha256 = "0ck9bnqg7miimggj1d6qlabrsa5h9yaw241fqn15cvqh915209zk";
2014-10-31 01:44:57 +00:00
dontPatchShebangs = true;
2014-12-31 02:05:00 +00: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 01:44:57 +00:00
}