about summary refs log tree commit diff
path: root/pkgs/development/compilers/neko/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/neko/default.nix')
-rw-r--r--pkgs/development/compilers/neko/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/compilers/neko/default.nix b/pkgs/development/compilers/neko/default.nix
index a0c888674016..7219d2b38097 100644
--- a/pkgs/development/compilers/neko/default.nix
+++ b/pkgs/development/compilers/neko/default.nix
@@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
   buildInputs =
     [ boehmgc zlib sqlite pcre apacheHttpd apr aprutil
       libmysqlclient mbedtls_2 openssl libpthreadstubs ]
-      ++ lib.optional stdenv.isLinux gtk2
-      ++ lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security
+      ++ lib.optional stdenv.hostPlatform.isLinux gtk2
+      ++ lib.optionals stdenv.hostPlatform.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security
                                                 pkgs.darwin.apple_sdk.frameworks.Carbon];
   cmakeFlags = [ "-DRUN_LDCONFIG=OFF" ];
   env = lib.optionalAttrs stdenv.cc.isClang {
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
 
   # Called from tools/test.neko line 2
   # Uncaught exception - Segmentation fault
-  doInstallCheck = !stdenv.isDarwin;
+  doInstallCheck = !stdenv.hostPlatform.isDarwin;
   dontPatchELF = true;
   dontStrip = true;