about summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/openwith/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/darwin/openwith/default.nix')
-rw-r--r--pkgs/os-specific/darwin/openwith/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/darwin/openwith/default.nix b/pkgs/os-specific/darwin/openwith/default.nix
index d28ed4942821..dbbd94fe4363 100644
--- a/pkgs/os-specific/darwin/openwith/default.nix
+++ b/pkgs/os-specific/darwin/openwith/default.nix
@@ -2,7 +2,7 @@
 
 let
   inherit (swiftPackages) apple_sdk stdenv swift;
-  arch = if stdenv.isAarch64 then "arm64" else "x86_64";
+  arch = if stdenv.hostPlatform.isAarch64 then "arm64" else "x86_64";
 in
 stdenv.mkDerivation rec {
   pname = "openwith";