mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 02:46:38 +00:00
773b4deb7c
This is a partial merge of staging where we have up to date binaries for all packages.
18 lines
452 B
Nix
18 lines
452 B
Nix
{ buildRubyGem, makeWrapper, ruby, coreutils }:
|
|
|
|
buildRubyGem {
|
|
name = "bundler-1.10.6";
|
|
namePrefix = "";
|
|
sha256 = "1vlzfq0bkkj4jyq6av0y55mh5nj5n0f3mfbmmifwgkh44g8k6agv";
|
|
dontPatchShebangs = true;
|
|
postInstall = ''
|
|
find $out -type f -perm -0100 | while read f; do
|
|
substituteInPlace $f \
|
|
--replace "/usr/bin/env" "${coreutils}/bin/env"
|
|
done
|
|
|
|
wrapProgram $out/bin/bundler \
|
|
--prefix PATH ":" ${ruby}/bin
|
|
'';
|
|
}
|