From 18570590e4685f21174182d7dca4e84a423403c0 Mon Sep 17 00:00:00 2001 From: uosis Date: Fri, 21 Feb 2020 02:14:45 -0700 Subject: [PATCH] ammonite: fix source reference to allow dynamic binding --- pkgs/development/tools/ammonite/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/ammonite/default.nix b/pkgs/development/tools/ammonite/default.nix index 69e81596574b..eba5a2b67149 100644 --- a/pkgs/development/tools/ammonite/default.nix +++ b/pkgs/development/tools/ammonite/default.nix @@ -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