nixpkgs-suyu/pkgs/development/interpreters/ruby/bundler-head.nix

19 lines
512 B
Nix
Raw Normal View History

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