From 8db26dbee4f5cc6bf8f91e8a2897df1c22679125 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Fri, 10 Mar 2017 23:21:16 +0100 Subject: [PATCH] packetdrill: minor packaging tweaks - native build inputs - allow building with hardening --- pkgs/tools/networking/packetdrill/default.nix | 4 ++-- 1 file 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 = {