From cb196f490eb77bf6732ae8bf1ffaaa5abe26d191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 30 Mar 2018 17:59:34 +0200 Subject: [PATCH] dhcpcd: fix /bin/sh impurity The usual error during configuration: syntax error: you disabled math support for $((arith)) syntax --- pkgs/tools/networking/dhcpcd/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/networking/dhcpcd/default.nix b/pkgs/tools/networking/dhcpcd/default.nix index 02d5a3073f4..93529fe4ce5 100644 --- a/pkgs/tools/networking/dhcpcd/default.nix +++ b/pkgs/tools/networking/dhcpcd/default.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; buildInputs = [ udev ]; + preConfigure = "patchShebangs ./configure"; + configureFlags = [ "--sysconfdir=/etc" "--localstatedir=/var"