2014-12-31 02:05:00 +00:00
|
|
|
{ buildRubyGem, coreutils, fetchgit }:
|
|
|
|
|
|
|
|
buildRubyGem {
|
|
|
|
name = "bundler-HEAD";
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/bundler/bundler.git";
|
2015-01-14 06:13:51 +00:00
|
|
|
rev = "a2343c9eabf5403d8ffcbca4dea33d18a60fc157";
|
2015-04-04 07:14:45 +01:00
|
|
|
sha256 = "0q7cjmz1fsrw3yfsr3h274qjamwnw01xgaqq3h5cjbqlrni4iq7k";
|
2014-12-31 02:05:00 +00:00
|
|
|
leaveDotGit = true;
|
|
|
|
};
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
postInstall = ''
|
|
|
|
find $out -type f -perm +0100 | while read f; do
|
|
|
|
substituteInPlace $f \
|
|
|
|
--replace "/usr/bin/env" "${coreutils}/bin/env"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
}
|