turbovnc: Fix that setting JAVA_HOME breaks vncviewer. Fixes #129582
(cherry picked from commit b7dd636f2475cd199d12cce672390f998f8c81bd)
This commit is contained in:
parent
bc8e2b283c
commit
cdf6905e25
@ -95,10 +95,11 @@ stdenv.mkDerivation rec {
|
||||
wrapProgram $out/bin/vncserver \
|
||||
--prefix PATH : ${lib.makeBinPath (with xorg; [ xauth ])}
|
||||
|
||||
# The viewer is in Java and requires `JAVA_HOME`.
|
||||
# The viewer is in Java and requires `JAVA_HOME` (which is a single
|
||||
# path, cannot be multiple separated paths).
|
||||
# For SSH support, `ssh` is required on `PATH`.
|
||||
wrapProgram $out/bin/vncviewer \
|
||||
--prefix JAVA_HOME : "${lib.makeLibraryPath [ openjdk ]}/openjdk" \
|
||||
--set JAVA_HOME "${lib.makeLibraryPath [ openjdk ]}/openjdk" \
|
||||
--prefix PATH : ${lib.makeBinPath [ openssh ]}
|
||||
'';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user