mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03: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 New Issue
Block a user