about summary refs log tree commit diff
path: root/pkgs/development/libraries/exempi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/exempi/default.nix')
-rw-r--r--pkgs/development/libraries/exempi/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/exempi/default.nix b/pkgs/development/libraries/exempi/default.nix
index 96d8d1db7a9a..ccdd0048e2aa 100644
--- a/pkgs/development/libraries/exempi/default.nix
+++ b/pkgs/development/libraries/exempi/default.nix
@@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
   ];
 
   buildInputs = [ expat zlib boost ]
-    ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ];
 
-  doCheck = stdenv.isLinux && stdenv.is64bit;
+  doCheck = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.is64bit;
   dontDisableStatic = doCheck;
 
   enableParallelBuilding = true;