Skip to content

Commit

Permalink
avahi: split headers to "dev" output
Browse files Browse the repository at this point in the history
  • Loading branch information
trofi committed Apr 16, 2023
1 parent e789c79 commit 1f3fda9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/libraries/avahi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ stdenv.mkDerivation rec {
sha256 = "1npdixwxxn3s9q1f365x9n9rc5xgfz39hxf23faqvlrklgbhj0q6";
};

outputs = [ "out" "dev" "man" ];

patches = [
# CVE-2021-36217 / CVE-2021-3502
(fetchpatch {
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 1f3fda9

Please sign in to comment.