mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
turbovnc: Fix that setting JAVA_HOME breaks vncviewer. Fixes #129582
This commit is contained in:
parent
46c8ac79db
commit
b7dd636f24
@ -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…
Reference in New Issue
Block a user