diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/gcr')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/gcr/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/libraries/gcr/default.nix b/nixpkgs/pkgs/development/libraries/gcr/default.nix index 7c20e2f5c6d2..0f03e9184e19 100644 --- a/nixpkgs/pkgs/development/libraries/gcr/default.nix +++ b/nixpkgs/pkgs/development/libraries/gcr/default.nix @@ -14,7 +14,7 @@ , pango , libsecret , openssh -, systemd +, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd , gobject-introspection , wrapGAppsHook , gi-docgen @@ -56,7 +56,7 @@ stdenv.mkDerivation rec { pango libsecret openssh - ] ++ lib.optionals stdenv.isLinux [ + ] ++ lib.optionals (systemdSupport) [ systemd ]; @@ -74,7 +74,7 @@ stdenv.mkDerivation rec { # We are still using ssh-agent from gnome-keyring. # https://github.com/NixOS/nixpkgs/issues/140824 "-Dssh_agent=false" - ] ++ lib.optionals (!stdenv.isLinux) [ + ] ++ lib.optionals (!systemdSupport) [ "-Dsystemd=disabled" ]; |