From e0caa91427d6d06e86f6a812accdf073f77b3a1a Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sun, 16 Apr 2023 11:20:44 -0700 Subject: [PATCH] at-spi2-core: use availableOn Commit 221f2fe6938fec92700e3577419d442e58b4a21f used `isLinux` to control systemd inclusion; let's use `availableOn` for more accurate results. --- pkgs/development/libraries/at-spi2-core/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/at-spi2-core/default.nix b/pkgs/development/libraries/at-spi2-core/default.nix index 4502b4afa38..926dd9b04fb 100644 --- a/pkgs/development/libraries/at-spi2-core/default.nix +++ b/pkgs/development/libraries/at-spi2-core/default.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { libXi # libXext is a transitive dependency of libXi libXext - ] ++ lib.optionals stdenv.hostPlatform.isLinux [ + ] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform systemd) [ # libsystemd is a needed for dbus-broker support systemd ];