about summary refs log tree commit diff
path: root/pkgs/development/libraries/enchant/2.x.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/enchant/2.x.nix')
-rw-r--r--pkgs/development/libraries/enchant/2.x.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/enchant/2.x.nix b/pkgs/development/libraries/enchant/2.x.nix
index 69cab2ca5b61..dbd7cefacb67 100644
--- a/pkgs/development/libraries/enchant/2.x.nix
+++ b/pkgs/development/libraries/enchant/2.x.nix
@@ -14,12 +14,12 @@
 , withAspell ? true
 , withHunspell ? true
 , withNuspell ? true
-, withAppleSpell ? stdenv.isDarwin
+, withAppleSpell ? stdenv.hostPlatform.isDarwin
 
 , Cocoa
 }:
 
-assert withAppleSpell -> stdenv.isDarwin;
+assert withAppleSpell -> stdenv.hostPlatform.isDarwin;
 
 stdenv.mkDerivation rec {
   pname = "enchant";