diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-01-05 11:29:15 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-01-05 11:29:57 +0100 |
commit | 900c7d29e768fb9f1513f67d8929c5c7243cc77f (patch) | |
tree | f201505e8a0835240d509af9f014643ccc319396 /pkgs/os-specific/linux/ipsec-tools | |
parent | 3dd298060a2d7c4ecaf82373a4cfb73aa02ad533 (diff) |
ipsecTools: fix build with newer gcc versions (warnings)
Diffstat (limited to 'pkgs/os-specific/linux/ipsec-tools')
-rw-r--r-- | pkgs/os-specific/linux/ipsec-tools/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/ipsec-tools/default.nix b/pkgs/os-specific/linux/ipsec-tools/default.nix index b28320c062521..f1faa5c4884dc 100644 --- a/pkgs/os-specific/linux/ipsec-tools/default.nix +++ b/pkgs/os-specific/linux/ipsec-tools/default.nix @@ -18,6 +18,9 @@ stdenv.mkDerivation rec { patches = [ ./dont-create-localstatedir-during-install.patch ]; + # fix build with newer gcc versions + preConfigure = ''substituteInPlace configure --replace "-Werror" "" ''; + configureFlags = '' --sysconfdir=/etc --localstatedir=/var --with-kernel-headers=${linuxHeaders}/include |