diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2017-03-10 23:21:16 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2017-03-10 23:35:29 +0100 |
commit | 8db26dbee4f5cc6bf8f91e8a2897df1c22679125 (patch) | |
tree | 190f5927e30e70a2a5d6e5c12b3afec5dee76378 /pkgs/tools/networking/packetdrill | |
parent | 2151e3b8ebfeee97655704e140ecb7a5dee8ec9c (diff) |
packetdrill: minor packaging tweaks
- native build inputs
- allow building with hardening
Diffstat (limited to 'pkgs/tools/networking/packetdrill')
-rw-r--r-- | pkgs/tools/networking/packetdrill/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/networking/packetdrill/default.nix b/pkgs/tools/networking/packetdrill/default.nix index f7690e44746..75007b5ed68 100644 --- a/pkgs/tools/networking/packetdrill/default.nix +++ b/pkgs/tools/networking/packetdrill/default.nix @@ -11,8 +11,8 @@ stdenv.mkDerivation rec { setSourceRoot = '' export sourceRoot=$(realpath */gtests/net/packetdrill) ''; - hardeningDisable = [ "all" ]; - buildInputs = [ bison flex ]; + NIX_CFLAGS_COMPILE = "-Wno-error=unused-result"; + nativeBuildInputs = [ bison flex ]; patches = [ ./nix.patch ]; enableParallelBuilding = true; meta = { |