packetdrill: minor packaging tweaks

- native build inputs
- allow building with hardening
This commit is contained in:
Joachim Fasting 2017-03-10 23:21:16 +01:00
parent 2151e3b8eb
commit 8db26dbee4
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08

View File

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