about summary refs log tree commit diff
path: root/pkgs/tools/text/jumanpp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/jumanpp/default.nix')
-rw-r--r--pkgs/tools/text/jumanpp/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/jumanpp/default.nix b/pkgs/tools/text/jumanpp/default.nix
index 382b2f319c142..5dff6f6f48afa 100644
--- a/pkgs/tools/text/jumanpp/default.nix
+++ b/pkgs/tools/text/jumanpp/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake ];
   buildInputs = [ protobuf ]
-    ++ lib.optional stdenv.isDarwin libiconv;
+    ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
 
   meta = with lib; {
     description = "Japanese morphological analyser using a recurrent neural network language model (RNNLM)";