1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/development/interpreters/ruby/bundler.nix
Charles Strahan 94dd4b9721 ruby: WIP
2014-12-30 21:05:00 -05:00

14 lines
341 B
Nix

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