From ed8c4b0585daba9c8f39f06c33edeed7d80d1505 Mon Sep 17 00:00:00 2001 From: Laszlo Nagy Date: Tue, 31 Jul 2012 23:34:52 +0200 Subject: [PATCH] Fix w3m configure problem on non-chroot build env. The configure script picks up libbsd.so from the host machine. It uses simple find command to locate the file, but the linker can not use it. The fix replace the search path to /no-such-path --- pkgs/applications/networking/browsers/w3m/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/networking/browsers/w3m/default.nix b/pkgs/applications/networking/browsers/w3m/default.nix index d5294c961e6..2a05e920d5f 100644 --- a/pkgs/applications/networking/browsers/w3m/default.nix +++ b/pkgs/applications/networking/browsers/w3m/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { configureFlags = "--with-ssl=${openssl} --with-gc=${boehmgc}"; preConfigure = '' + substituteInPlace ./configure --replace "/lib /usr/lib /usr/local/lib /usr/ucblib /usr/ccslib /usr/ccs/lib /lib64 /usr/lib64" /no-such-path substituteInPlace ./configure --replace /usr /no-such-path '';