packetdrill: minor packaging tweaks

- native build inputs
- allow building with hardening

+2 -2
+2 -2
pkgs/tools/networking/packetdrill/default.nix
··· 11 11 setSourceRoot = '' 12 12 export sourceRoot=$(realpath */gtests/net/packetdrill) 13 13 ''; 14 - hardeningDisable = [ "all" ]; 15 - buildInputs = [ bison flex ]; 14 + NIX_CFLAGS_COMPILE = "-Wno-error=unused-result"; 15 + nativeBuildInputs = [ bison flex ]; 16 16 patches = [ ./nix.patch ]; 17 17 enableParallelBuilding = true; 18 18 meta = {