about summary refs log tree commit diff
path: root/pkgs/servers/matrix-hebbot/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/matrix-hebbot/default.nix')
-rw-r--r--pkgs/servers/matrix-hebbot/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/matrix-hebbot/default.nix b/pkgs/servers/matrix-hebbot/default.nix
index ca90304ed32fa..a2f222e6d4896 100644
--- a/pkgs/servers/matrix-hebbot/default.nix
+++ b/pkgs/servers/matrix-hebbot/default.nix
@@ -29,9 +29,9 @@ rustPlatform.buildRustPackage rec {
   };
 
   nativeBuildInputs = [ pkg-config cmake ] ++
-    lib.optionals stdenv.isDarwin [ autoconf automake ];
+    lib.optionals stdenv.hostPlatform.isDarwin [ autoconf automake ];
 
-  buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
+  buildInputs = [ openssl ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
 
   meta = with lib; {
     description = "Matrix bot which can generate \"This Week in X\" like blog posts ";