bundler: 1.17.3 -> 2.1.4
This commit is contained in:
parent
f6b382b25a
commit
a2e73b062a
@ -124,7 +124,7 @@ let
|
||||
for i in ${ruby}/bin/*; do
|
||||
makeWrapper "$i" $out/bin/$(basename "$i") \
|
||||
--set BUNDLE_GEMFILE ${confFiles}/Gemfile \
|
||||
--set BUNDLE_PATH ${basicEnv}/${ruby.gemPath} \
|
||||
--unset BUNDLE_PATH \
|
||||
--set BUNDLE_FROZEN 1 \
|
||||
--set GEM_HOME ${basicEnv}/${ruby.gemPath} \
|
||||
--set GEM_PATH ${basicEnv}/${ruby.gemPath}
|
||||
|
@ -32,7 +32,7 @@ paths.each do |path|
|
||||
#
|
||||
|
||||
ENV["BUNDLE_GEMFILE"] = #{gemfile.dump}
|
||||
ENV["BUNDLE_PATH"] = #{bundle_path.dump}
|
||||
ENV.delete 'BUNDLE_PATH'
|
||||
ENV['BUNDLE_FROZEN'] = '1'
|
||||
|
||||
$LOAD_PATH.unshift #{bundler_path.dump} + "/lib"
|
||||
|
@ -53,7 +53,7 @@ in
|
||||
${(lib.concatMapStrings (x: "ln -s '${basicEnv}/bin/${x}' $out/bin/${x};\n") exes)}
|
||||
${(lib.concatMapStrings (s: "makeWrapper $out/bin/$(basename ${s}) $srcdir/${s} " +
|
||||
"--set BUNDLE_GEMFILE ${basicEnv.confFiles}/Gemfile "+
|
||||
"--set BUNDLE_PATH ${basicEnv}/${ruby.gemPath} "+
|
||||
"--unset BUNDLE_PATH "+
|
||||
"--set BUNDLE_FROZEN 1 "+
|
||||
"--set GEM_HOME ${basicEnv}/${ruby.gemPath} "+
|
||||
"--set GEM_PATH ${basicEnv}/${ruby.gemPath} "+
|
||||
|
@ -4,8 +4,8 @@ buildRubyGem rec {
|
||||
inherit ruby;
|
||||
name = "${gemName}-${version}";
|
||||
gemName = "bundler";
|
||||
version = "1.17.3";
|
||||
source.sha256 = "0ln3gnk7cls81gwsbxvrmlidsfd78s6b2hzlm4d4a9wbaidzfjxw";
|
||||
version = "2.1.4";
|
||||
source.sha256 = "12glbb1357x91fvd004jgkw7ihlkpc9dwr349pd7j83isqhls0ah";
|
||||
dontPatchShebangs = true;
|
||||
|
||||
postFixup = ''
|
||||
|
Loading…
Reference in New Issue
Block a user