tightvnc: replace occurences to /usr/bin/ssh

closes #3669
This commit is contained in:
Pascal Wittmann 2015-05-21 18:51:43 +02:00
parent 691b98fc28
commit f3867899ee

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, x11, zlib, libjpeg, imake, gccmakedep, libXmu { stdenv, fetchurl, x11, zlib, libjpeg, imake, gccmakedep, libXmu
, libXaw, libXpm, libXp , perl, xauth, fontDirectories }: , libXaw, libXpm, libXp , perl, xauth, fontDirectories, openssh }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "tightvnc-1.3.10"; name = "tightvnc-1.3.10";
@ -14,7 +14,7 @@ stdenv.mkDerivation {
gcc = stdenv.cc.cc; gcc = stdenv.cc.cc;
buildInputs = [ x11 zlib libjpeg imake gccmakedep libXmu libXaw buildInputs = [ x11 zlib libjpeg imake gccmakedep libXmu libXaw
libXpm libXp xauth ]; libXpm libXp xauth openssh ];
patchPhase = '' patchPhase = ''
fontPath= fontPath=
@ -23,6 +23,8 @@ stdenv.mkDerivation {
addToSearchPathWithCustomDelimiter "," fontPath $(dirname $j) addToSearchPathWithCustomDelimiter "," fontPath $(dirname $j)
done done
done done
sed -i "s@/usr/bin/ssh@${openssh}/bin/ssh@g" vncviewer/vncviewer.h
''; '';
buildPhase = '' buildPhase = ''