mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
tcpdump: fix static build
This commit is contained in:
parent
fad1b8e906
commit
a41f68a845
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, libpcap, perl }:
|
||||
{ lib, stdenv, fetchurl, libpcap, pkg-config, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tcpdump";
|
||||
|
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
|||
patchShebangs tests
|
||||
'';
|
||||
|
||||
nativeBuildInputs = lib.optional (stdenv.hostPlatform.isStatic) [ pkg-config ];
|
||||
|
||||
nativeCheckInputs = [ perl ];
|
||||
|
||||
buildInputs = [ libpcap ];
|
||||
|
|
Loading…
Reference in a new issue