mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
avahi: split headers to "dev" output
This commit is contained in:
parent
e789c7976f
commit
1f3fda9457
@ -31,6 +31,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1npdixwxxn3s9q1f365x9n9rc5xgfz39hxf23faqvlrklgbhj0q6";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "man" ];
|
||||
|
||||
patches = [
|
||||
# CVE-2021-36217 / CVE-2021-3502
|
||||
(fetchpatch {
|
||||
@ -115,7 +117,7 @@ stdenv.mkDerivation rec {
|
||||
postInstall =
|
||||
# Maintain compat for mdnsresponder
|
||||
lib.optionalString withLibdnssdCompat ''
|
||||
ln -s avahi-compat-libdns_sd/dns_sd.h "$out/include/dns_sd.h"
|
||||
ln -s avahi-compat-libdns_sd/dns_sd.h "$dev/include/dns_sd.h"
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
|
Loading…
Reference in New Issue
Block a user