From 1f3fda9457547e07639bdbaabfa722ed09c9dd06 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 16 Apr 2023 18:14:13 +0100 Subject: [PATCH] avahi: split headers to "dev" output --- pkgs/development/libraries/avahi/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/avahi/default.nix b/pkgs/development/libraries/avahi/default.nix index 2d2fd4f57716..ac97871d9ca1 100644 --- a/pkgs/development/libraries/avahi/default.nix +++ b/pkgs/development/libraries/avahi/default.nix @@ -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 = {