Merge pull request #12917 from dasuxullebt/fix/ssvnc-perl

Bugfix: ssvnc had a hard dependency on /usr/bin/perl which is now rep…
This commit is contained in:
Pascal Wittmann 2016-02-10 20:42:10 +01:00
commit 2b8e9cb72e

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, imake, zlib, jdk, libX11, libXt, libXmu { stdenv, fetchurl, imake, zlib, jdk, libX11, libXt, libXmu
, libXaw, libXext, libXpm, openjpeg, openssl, tcl, tk }: , libXaw, libXext, libXpm, openjpeg, openssl, tcl, tk, perl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ssvnc-${version}"; name = "ssvnc-${version}";
@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
sed -i -e 's|exec wish|exec ${tk}/bin/wish|' $out/lib/ssvnc/util/ssvnc.tcl sed -i -e 's|exec wish|exec ${tk}/bin/wish|' $out/lib/ssvnc/util/ssvnc.tcl
sed -i -e 's|/usr/bin/perl|${perl}/bin/perl|' $out/lib/ssvnc/util/ss_vncviewer
''; '';
meta = { meta = {