mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
Merge pull request #275321 from VergeDX/tcpdump
tcpdump: fix static build
This commit is contained in:
commit
21fee7de23
@ -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 New Issue
Block a user