2015-05-07 07:10:46 +02:00
|
|
|
{ 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";
|
2015-05-07 07:10:46 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/bundler/bundler.git";
|
|
|
|
rev = "a2343c9eabf5403d8ffcbca4dea33d18a60fc157";
|
2015-09-27 08:12:59 +02:00
|
|
|
sha256 = "06qsai4ac3i2xlr7nbc4anh4cy6jd9jjf3rpj254g9gwshqv0qgr";
|
2015-05-07 07:10:46 +02:00
|
|
|
leaveDotGit = true;
|
2014-12-31 03:05:00 +01:00
|
|
|
};
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
postInstall = ''
|
2015-09-06 10:21:43 +02:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
}
|