about summary refs log tree commit diff
path: root/pkgs/development/libraries/gtk-frdp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/gtk-frdp/default.nix')
-rw-r--r--pkgs/development/libraries/gtk-frdp/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gtk-frdp/default.nix b/pkgs/development/libraries/gtk-frdp/default.nix
index b3edf0ba4853..69af8b31872e 100644
--- a/pkgs/development/libraries/gtk-frdp/default.nix
+++ b/pkgs/development/libraries/gtk-frdp/default.nix
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
     };
   };
 
-  env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [
+  env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.hostPlatform.isDarwin [
     "-DTARGET_OS_IPHONE=0"
     "-DTARGET_OS_WATCH=0"
   ]);