* Fix some hard-coded paths.

svn path=/nixpkgs/trunk/; revision=30373
This commit is contained in:
Eelco Dolstra 2011-11-10 19:06:02 +00:00
parent d0c78d6a58
commit 75b527df8e

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl, zlib, libjpeg, xorg }:
{ stdenv, fetchurl, openssl, zlib, libjpeg, xorg, coreutils }:
stdenv.mkDerivation rec {
name = "x11vnc-0.9.13";
@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
preConfigure = ''
configureFlags="--mandir=$out/share/man"
substituteInPlace x11vnc/unixpw.c \
--replace '"/bin/su"' '"/var/setuid-wrappers/su"' \
--replace '"/bin/true"' '"${coreutils}/bin/true"'
'';
meta = {