about summary refs log tree commit diff
path: root/pkgs/development/libraries/nettle/generic.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/nettle/generic.nix')
-rw-r--r--pkgs/development/libraries/nettle/generic.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/nettle/generic.nix b/pkgs/development/libraries/nettle/generic.nix
index 44afdf45513f..b1cf1f5f6bfe 100644
--- a/pkgs/development/libraries/nettle/generic.nix
+++ b/pkgs/development/libraries/nettle/generic.nix
@@ -23,9 +23,9 @@ stdenv.mkDerivation {
     # /usr/include/mp.h from OpenSolaris.  See
     # <https://lists.gnu.org/archive/html/hydra-users/2012-08/msg00000.html>
     # for details.
-    ++ lib.optional stdenv.isSunOS "--with-include-path=${gmp.dev}/include";
+    ++ lib.optional stdenv.hostPlatform.isSunOS "--with-include-path=${gmp.dev}/include";
 
-  doCheck = (stdenv.hostPlatform.system != "i686-cygwin" && !stdenv.isDarwin);
+  doCheck = (stdenv.hostPlatform.system != "i686-cygwin" && !stdenv.hostPlatform.isDarwin);
 
   enableParallelBuilding = true;