about summary refs log tree commit diff
path: root/pkgs/servers/web-apps/lemmy/server.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/web-apps/lemmy/server.nix')
-rw-r--r--pkgs/servers/web-apps/lemmy/server.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/web-apps/lemmy/server.nix b/pkgs/servers/web-apps/lemmy/server.nix
index 8cb65bfef2bf..416de2b21db7 100644
--- a/pkgs/servers/web-apps/lemmy/server.nix
+++ b/pkgs/servers/web-apps/lemmy/server.nix
@@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
   cargoHash = pinData.serverCargoHash;
 
   buildInputs = [ postgresql ]
-    ++ lib.optionals stdenv.isDarwin [ libiconv Security SystemConfiguration ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv Security SystemConfiguration ];
 
   # Using OPENSSL_NO_VENDOR is not an option on darwin
   # As of version 0.10.35 rust-openssl looks for openssl on darwin