about summary refs log tree commit diff
path: root/pkgs/servers/nosql/rethinkdb/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/nosql/rethinkdb/default.nix')
-rw-r--r--pkgs/servers/nosql/rethinkdb/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/servers/nosql/rethinkdb/default.nix b/pkgs/servers/nosql/rethinkdb/default.nix
index 2ba228dd699b..03aed49f564b 100644
--- a/pkgs/servers/nosql/rethinkdb/default.nix
+++ b/pkgs/servers/nosql/rethinkdb/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
     patchShebangs .
   '';
 
-  configureFlags = lib.optionals (!stdenv.isDarwin) [
+  configureFlags = lib.optionals (!stdenv.hostPlatform.isDarwin) [
     "--with-jemalloc"
     "--lib-path=${jemalloc}/lib"
   ];
@@ -31,8 +31,8 @@ stdenv.mkDerivation rec {
   makeFlags = [ "rethinkdb" ];
 
   buildInputs = [ protobuf boost zlib curl openssl icu ]
-    ++ lib.optional (!stdenv.isDarwin) jemalloc
-    ++ lib.optional stdenv.isDarwin libtool;
+    ++ lib.optional (!stdenv.hostPlatform.isDarwin) jemalloc
+    ++ lib.optional stdenv.hostPlatform.isDarwin libtool;
 
   nativeBuildInputs = [ which m4 python3Packages.python makeWrapper ];