From f69d866898512643ac6402979c35f002e186feb6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 20 Feb 2007 14:59:11 +0000 Subject: [PATCH] * Hackery to get dhclient to pass PATH to dhclient-script. svn path=/nixpkgs/trunk/; revision=7924 --- pkgs/tools/networking/dhcp/builder.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/networking/dhcp/builder.sh b/pkgs/tools/networking/dhcp/builder.sh index 96e8a57fe6a1..8fbd42b944c7 100644 --- a/pkgs/tools/networking/dhcp/builder.sh +++ b/pkgs/tools/networking/dhcp/builder.sh @@ -2,6 +2,10 @@ source $stdenv/setup export DESTDIR=$out +# Hack to prevent dhclient from overriding the PATH specified with +# '-e' on the command-line. +makeFlags="CLIENT_PATH='\"FAKE_PATH=/nothing\"'" + configurePhase=configurePhase configurePhase() { ./configure