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 = {