Revert "libpcap: move dev things to extra output"
This reverts commit c96b21c78b
.
This commit is contained in:
parent
4c0c8ac7fe
commit
a30a34427c
|
@ -6,8 +6,6 @@ stdenv.mkDerivation rec {
|
||||||
pname = "libpcap";
|
pname = "libpcap";
|
||||||
version = "1.10.1";
|
version = "1.10.1";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.tcpdump.org/release/${pname}-${version}.tar.gz";
|
url = "https://www.tcpdump.org/release/${pname}-${version}.tar.gz";
|
||||||
sha256 = "sha256-7ShfSsyvBTRPkJdXV7Pb/ncrpB0cQBwmSLf6RbcRvdQ=";
|
sha256 = "sha256-7ShfSsyvBTRPkJdXV7Pb/ncrpB0cQBwmSLf6RbcRvdQ=";
|
||||||
|
@ -29,8 +27,6 @@ stdenv.mkDerivation rec {
|
||||||
if [ "$dontDisableStatic" -ne "1" ]; then
|
if [ "$dontDisableStatic" -ne "1" ]; then
|
||||||
rm -f $out/lib/libpcap.a
|
rm -f $out/lib/libpcap.a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
moveToOutput "bin/pcap-config" "$dev"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue