about summary refs log tree commit diff
path: root/pkgs/tools/text/cmigemo/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/cmigemo/default.nix')
-rw-r--r--pkgs/tools/text/cmigemo/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/text/cmigemo/default.nix b/pkgs/tools/text/cmigemo/default.nix
index 20cee369e73f..b7b08a762736 100644
--- a/pkgs/tools/text/cmigemo/default.nix
+++ b/pkgs/tools/text/cmigemo/default.nix
@@ -24,9 +24,9 @@ stdenv.mkDerivation {
 
   makeFlags = [ "INSTALL=install" ];
 
-  buildFlags = [ (if stdenv.isDarwin then "osx-all" else "gcc-all") ];
+  buildFlags = [ (if stdenv.hostPlatform.isDarwin then "osx-all" else "gcc-all") ];
 
-  installTargets = [ (if stdenv.isDarwin then "osx-install" else "gcc-install") ];
+  installTargets = [ (if stdenv.hostPlatform.isDarwin then "osx-install" else "gcc-install") ];
 
   meta = with lib; {
     description = "Tool that supports Japanese incremental search with Romaji";