From f82cda2388c1a47a72d4ea44ff04086d7b241d2d Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 1 Mar 2025 20:30:14 +0100 Subject: [PATCH] dbus: Do not propagate expat The propagation was introduced in 7d9607f1511bfe496fcd77ef735e7fc7f1c6eb9f without any context. But the library is only used by dbus-daemon so it does not make sense to propagate it. --- pkgs/by-name/db/dbus/package.nix | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/pkgs/by-name/db/dbus/package.nix b/pkgs/by-name/db/dbus/package.nix index 5e38403c93cc..637f22a3ab5b 100644 --- a/pkgs/by-name/db/dbus/package.nix +++ b/pkgs/by-name/db/dbus/package.nix @@ -64,24 +64,22 @@ stdenv.mkDerivation rec { xmlto ]; - propagatedBuildInputs = [ + buildInputs = [ expat + ] + ++ lib.optionals x11Support ( + with xorg; + [ + libX11 + libICE + libSM + ] + ) + ++ lib.optional enableSystemd systemdMinimal + ++ lib.optionals stdenv.hostPlatform.isLinux [ + audit + libapparmor ]; - - buildInputs = - lib.optionals x11Support ( - with xorg; - [ - libX11 - libICE - libSM - ] - ) - ++ lib.optional enableSystemd systemdMinimal - ++ lib.optionals stdenv.hostPlatform.isLinux [ - audit - libapparmor - ]; # ToDo: optional selinux? __darwinAllowLocalNetworking = true;