2015-05-07 06:10:46 +01:00
|
|
|
{ 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";
|
2015-05-07 06:10:46 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/bundler/bundler.git";
|
|
|
|
rev = "a2343c9eabf5403d8ffcbca4dea33d18a60fc157";
|
2015-07-07 00:41:36 +01:00
|
|
|
sha256 = "1vzm21fc37w89psxfk2fzi64zyb3gyhzr9smd6jk2r2kvgp6d38b";
|
2015-05-07 06:10:46 +01:00
|
|
|
leaveDotGit = true;
|
2014-12-31 02:05:00 +00:00
|
|
|
};
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
postInstall = ''
|
|
|
|
find $out -type f -perm +0100 | while read f; do
|
|
|
|
substituteInPlace $f \
|
|
|
|
--replace "/usr/bin/env" "${coreutils}/bin/env"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
}
|