mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
parent
691b98fc28
commit
f3867899ee
@ -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 = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user