fixup gem install flags
This commit is contained in:
parent
11903c4c10
commit
6863853879
@ -45,8 +45,16 @@ in ruby.stdenv.mkDerivation (attrs // {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
GEM_HOME=$out/${ruby.gemPath} \
|
GEM_HOME=$out/${ruby.gemPath} \
|
||||||
gem install -p http://nodtd.invalid \
|
gem install \
|
||||||
--build-root / -n "$out/bin" "$src" $gemFlags -- $buildFlags
|
--local \
|
||||||
|
--force \
|
||||||
|
--http-proxy "http://nodtd.invalid" \
|
||||||
|
--ignore-dependencies \
|
||||||
|
--build-root "/" \
|
||||||
|
--bindir "$out/bin" \
|
||||||
|
--backtrace \
|
||||||
|
$src $gemFlags -- $buildFlags
|
||||||
|
|
||||||
rm -frv $out/${ruby.gemPath}/cache # don't keep the .gem file here
|
rm -frv $out/${ruby.gemPath}/cache # don't keep the .gem file here
|
||||||
|
|
||||||
for prog in $out/bin/*; do
|
for prog in $out/bin/*; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user