about summary refs log tree commit diff
path: root/pkgs/development/libraries/imtui/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/imtui/default.nix')
-rw-r--r--pkgs/development/libraries/imtui/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/imtui/default.nix b/pkgs/development/libraries/imtui/default.nix
index a4f477543b89..ac1791126bfd 100644
--- a/pkgs/development/libraries/imtui/default.nix
+++ b/pkgs/development/libraries/imtui/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
   buildInputs = lib.optional withEmscripten emscripten
     ++ lib.optional withCurl curl
     ++ lib.optional withNcurses ncurses
-    ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa;
+    ++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Cocoa;
 
   postPatch = ''
     cp -r ${imgui.src}/* third-party/imgui/imgui