writeScript* -> writeShellScript*
This commit is contained in:
parent
10d39faff4
commit
23b7c3f5a7
9 changed files with 12 additions and 38 deletions
|
@ -5,9 +5,7 @@ in
|
|||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
(
|
||||
pkgs.writeScriptBin "java" ''
|
||||
#!${pkgs.zsh}/bin/zsh
|
||||
|
||||
pkgs.writeShellScriptBin "java" ''
|
||||
old_path="$(patchelf --print-rpath ${jdk11}/bin/java)"
|
||||
LD_LIBRARY_PATH="$old_path:${extraRpath}" ${jdk11}/bin/java $@
|
||||
''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue