* Fix some hard-coded paths.
svn path=/nixpkgs/trunk/; revision=30373
This commit is contained in:
parent
d0c78d6a58
commit
75b527df8e
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, openssl, zlib, libjpeg, xorg }:
|
{ stdenv, fetchurl, openssl, zlib, libjpeg, xorg, coreutils }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "x11vnc-0.9.13";
|
name = "x11vnc-0.9.13";
|
||||||
@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
configureFlags="--mandir=$out/share/man"
|
configureFlags="--mandir=$out/share/man"
|
||||||
|
|
||||||
|
substituteInPlace x11vnc/unixpw.c \
|
||||||
|
--replace '"/bin/su"' '"/var/setuid-wrappers/su"' \
|
||||||
|
--replace '"/bin/true"' '"${coreutils}/bin/true"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user