ruby: WIP
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{ buildRubyGem, coreutils, fetchgit }:
|
||||
|
||||
buildRubyGem {
|
||||
name = "bundler-HEAD";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/bundler/bundler.git";
|
||||
rev = "17919e790cd8f6fb369d6afc81f0afec6fb5ad8b";
|
||||
sha256 = "10gqashaax0i18gs95pijqsnpnwfj9v3va5rpxps0v597d16px9b";
|
||||
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
|
||||
'';
|
||||
}
|
||||
@@ -1,7 +1,13 @@
|
||||
{ buildRubyGem }:
|
||||
{ buildRubyGem, coreutils }:
|
||||
|
||||
buildRubyGem {
|
||||
name = "bundler-1.7.4";
|
||||
sha256 = "122k07z60780mr00zfbbw04v9xlw1fhxjsx4g2rbm66hxlnlnh89";
|
||||
name = "bundler-1.7.9";
|
||||
sha256 = "1gd201rh17xykab9pbqp0dkxfm7b9jri02llyvmrc0c5bz2vhycm";
|
||||
dontPatchShebangs = true;
|
||||
postInstall = ''
|
||||
find $out -type f -perm +0100 | while read f; do
|
||||
substituteInPlace $f \
|
||||
--replace "/usr/bin/env" "${coreutils}/bin/env"
|
||||
done
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user