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