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-02-18 02:05:18 +00:00
|
|
|
sha256 = "1fywz0m3bb0fmcikhqbw9iaw67k29srwi8dllq6ni1cbm1xfyj46";
|
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
|
|
|
|
'';
|
|
|
|
}
|