about summary refs log tree commit diff
path: root/pkgs/games/anki/sync-server.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/anki/sync-server.nix')
-rw-r--r--pkgs/games/anki/sync-server.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/anki/sync-server.nix b/pkgs/games/anki/sync-server.nix
index 8dc73e405afde..0b351ae3ffade 100644
--- a/pkgs/games/anki/sync-server.nix
+++ b/pkgs/games/anki/sync-server.nix
@@ -34,7 +34,7 @@ rustPlatform.buildRustPackage {
 
   buildInputs = [
     openssl
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.Security
     darwin.apple_sdk.frameworks.SystemConfiguration
   ];