diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2017-11-12 12:16:47 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2017-11-12 12:16:47 +0100 |
commit | c65c1f64341d985d8b7fe02cd41164e380133dd5 (patch) | |
tree | 08df46a1154a47460206cc828322f46c02dae236 /pkgs | |
parent | 4efdd7e87dde31fe301a7d28050ba577ad496845 (diff) |
dhcp: fixup build with gcc-7 (ignore warning)
Upgrade to latest release wouldn't solve this one, and it would conflict with both of our patches, so I decided not to spend much time on this for now.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/networking/dhcp/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/networking/dhcp/default.nix b/pkgs/tools/networking/dhcp/default.nix index e7a593ff830ca..1812e95dcbb77 100644 --- a/pkgs/tools/networking/dhcp/default.nix +++ b/pkgs/tools/networking/dhcp/default.nix @@ -37,6 +37,8 @@ stdenv.mkDerivation rec { "--localstatedir=/var" ] ++ stdenv.lib.optionals (openldap != null) [ "--with-ldap" "--with-ldapcrypto" ]; + NIX_CFLAGS_COMPILE = [ "-Wno-error=pointer-compare" ]; + installFlags = [ "DESTDIR=\${out}" ]; postInstall = |