mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
14 lines
341 B
Nix
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
|
|
'';
|
|
}
|