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 {
2014-12-31 03:05:00 +01:00
name = "bundler-1.7.9";
sha256 = "1gd201rh17xykab9pbqp0dkxfm7b9jri02llyvmrc0c5bz2vhycm";
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
}