about summary refs log tree commit diff
path: root/pkgs/servers/matrix-conduit/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/matrix-conduit/default.nix')
-rw-r--r--pkgs/servers/matrix-conduit/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/matrix-conduit/default.nix b/pkgs/servers/matrix-conduit/default.nix
index 91cdded5a2fe..4e3ddb37db4d 100644
--- a/pkgs/servers/matrix-conduit/default.nix
+++ b/pkgs/servers/matrix-conduit/default.nix
@@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec {
   buildInputs = [
     sqlite
     rust-jemalloc-sys
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.Security
     darwin.apple_sdk.frameworks.SystemConfiguration
   ];
@@ -55,7 +55,7 @@ rustPlatform.buildRustPackage rec {
   };
 
   # tests failed on x86_64-darwin with SIGILL: illegal instruction
-  doCheck = !(stdenv.isx86_64 && stdenv.isDarwin);
+  doCheck = !(stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin);
 
   passthru.tests = {
     inherit (nixosTests) matrix-conduit;