mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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:
commit
2b8e9cb72e
1 changed files with 2 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue