about summary refs log tree commit diff
path: root/pkgs/servers/sql/materialize/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/sql/materialize/default.nix')
-rw-r--r--pkgs/servers/sql/materialize/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/sql/materialize/default.nix b/pkgs/servers/sql/materialize/default.nix
index 346e83f12206..1738b4fb92d6 100644
--- a/pkgs/servers/sql/materialize/default.nix
+++ b/pkgs/servers/sql/materialize/default.nix
@@ -101,13 +101,13 @@ rustPlatform.buildRustPackage rec {
     rustPlatform.bindgenHook
   ]
     # Provides the mig command used by the krb5-src build script
-    ++ lib.optional stdenv.isDarwin bootstrap_cmds;
+    ++ lib.optional stdenv.hostPlatform.isDarwin bootstrap_cmds;
 
   # Needed to get openssl-sys to use pkg-config.
   OPENSSL_NO_VENDOR = 1;
 
   buildInputs = [ openssl rdkafka libclang ]
-    ++ lib.optionals stdenv.isDarwin [ libiconv DiskArbitration Foundation ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv DiskArbitration Foundation ];
 
   # the check phase requires linking with rocksdb which can be a problem since
   # the rust rocksdb crate is not updated very often.