about summary refs log tree commit diff
path: root/pkgs/by-name/sw/switcheroo/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sw/switcheroo/package.nix')
-rw-r--r--pkgs/by-name/sw/switcheroo/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/sw/switcheroo/package.nix b/pkgs/by-name/sw/switcheroo/package.nix
index 459f4a93793f..d61c2a722f69 100644
--- a/pkgs/by-name/sw/switcheroo/package.nix
+++ b/pkgs/by-name/sw/switcheroo/package.nix
@@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: {
     glib
     gtk4
     libadwaita
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.Foundation
   ];