From 345736016811b4109e92dd9802ccccc191e99356 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 13 Oct 2021 21:04:15 +0200 Subject: [PATCH] mod_dnssd: strip debugging symbols Otherwise gnome-user-share and thus the whole GNOME will pull in apacheHttpd.dev & co. --- pkgs/servers/http/apache-modules/mod_dnssd/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/servers/http/apache-modules/mod_dnssd/default.nix b/pkgs/servers/http/apache-modules/mod_dnssd/default.nix index df8c046d7e31..4f4236e91b58 100644 --- a/pkgs/servers/http/apache-modules/mod_dnssd/default.nix +++ b/pkgs/servers/http/apache-modules/mod_dnssd/default.nix @@ -28,6 +28,12 @@ stdenv.mkDerivation rec { runHook postInstall ''; + preFixup = '' + # TODO: Packages in non-standard directories not stripped. + # https://github.com/NixOS/nixpkgs/issues/141554 + stripDebugList=modules + ''; + meta = with lib; { homepage = "http://0pointer.de/lennart/projects/mod_dnssd"; description = "Provide Zeroconf support via DNS-SD using Avahi";