1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/development/interpreters/ruby/bundler-head.nix

19 lines
512 B
Nix
Raw Normal View History

{ buildRubyGem, coreutils, fetchgit }:
2014-12-31 02:05:00 +00:00
buildRubyGem {
2015-06-04 18:22:36 +01:00
name = "bundler-2015-01-11";
src = fetchgit {
url = "https://github.com/bundler/bundler.git";
rev = "a2343c9eabf5403d8ffcbca4dea33d18a60fc157";
2015-09-27 07:12:59 +01:00
sha256 = "06qsai4ac3i2xlr7nbc4anh4cy6jd9jjf3rpj254g9gwshqv0qgr";
leaveDotGit = true;
2014-12-31 02:05:00 +00:00
};
dontPatchShebangs = true;
postInstall = ''
find $out -type f -perm -0100 | while read f; do
2014-12-31 02:05:00 +00:00
substituteInPlace $f \
--replace "/usr/bin/env" "${coreutils}/bin/env"
done
'';
}