mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
ammonite: fix source reference to allow dynamic binding
This commit is contained in:
parent
621c4239c3
commit
18570590e4
@ -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