mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
fixup gem install flags
This commit is contained in:
parent
11903c4c10
commit
6863853879
@ -45,8 +45,16 @@ in ruby.stdenv.mkDerivation (attrs // {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
GEM_HOME=$out/${ruby.gemPath} \
|
||||
gem install -p http://nodtd.invalid \
|
||||
--build-root / -n "$out/bin" "$src" $gemFlags -- $buildFlags
|
||||
gem install \
|
||||
--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
|
||||
|
||||
for prog in $out/bin/*; do
|
||||
|
Loading…
Reference in New Issue
Block a user