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:
parent
15e96bd4d2
commit
3b16f3d467
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue