about summary refs log tree commit diff
path: root/pkgs/games/anki/bin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/anki/bin.nix')
-rw-r--r--pkgs/games/anki/bin.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/anki/bin.nix b/pkgs/games/anki/bin.nix
index a75cc801257e..8daf97caf56b 100644
--- a/pkgs/games/anki/bin.nix
+++ b/pkgs/games/anki/bin.nix
@@ -115,13 +115,13 @@ let
   );
 in
 
-if stdenv.isLinux then
+if stdenv.hostPlatform.isLinux then
   fhsEnvAnki
 else
   stdenv.mkDerivation {
     inherit pname version passthru;
 
-    src = if stdenv.isAarch64 then sources.darwin-aarch64 else sources.darwin-x86_64;
+    src = if stdenv.hostPlatform.isAarch64 then sources.darwin-aarch64 else sources.darwin-x86_64;
 
     nativeBuildInputs = [ undmg ];
     sourceRoot = ".";