1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

tcpdump: use checkInputs, fix tests

This commit is contained in:
Jan Malakhovski 2018-08-08 21:38:52 +00:00
parent 15e96bd4d2
commit 3b16f3d467

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libpcap }:
{ stdenv, fetchurl, libpcap, perl }:
stdenv.mkDerivation rec {
name = "tcpdump-${version}";
@ -16,6 +16,12 @@ stdenv.mkDerivation rec {
# sha256 = "1vzrvn1q7x28h18yskqc390y357pzpg5xd3pzzj4xz3llnvsr64p";
# };
postPatch = ''
patchShebangs tests
'';
checkInputs = [ perl ];
buildInputs = [ libpcap ];
configureFlags = stdenv.lib.optional