Merge pull request #80707 from uosis/ammonite
ammonite: fix source reference to allow dynamic binding
This commit is contained in:
commit
c5e223e120
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
phases = "installPhase";
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 ${src} $out/bin/amm
|
||||
install -Dm755 $src $out/bin/amm
|
||||
sed -i '0,/java/{s|java|${jre}/bin/java|}' $out/bin/amm
|
||||
'' + optionalString (disableRemoteLogging) ''
|
||||
sed -i '0,/ammonite.Main/{s|ammonite.Main|ammonite.Main --no-remote-logging|}' $out/bin/amm
|
||||
|
Loading…
Reference in New Issue
Block a user