jbang: make jbang able to see itself
I understand why it has been restricted to a limited PATH, but it seems reasonable that jbang can execute itself. There are tools out there that assume as much (e.g. the Jupyter kernel jbang-catalog).
This commit is contained in:
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
cp -r . $out
|
||||
wrapProgram $out/bin/jbang \
|
||||
--set JAVA_HOME ${jdk} \
|
||||
--set PATH ${lib.makeBinPath [ coreutils jdk curl ]}
|
||||
--set PATH ${lib.makeBinPath [ (placeholder "out") coreutils jdk curl ]}
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user