about summary refs log tree commit diff
path: root/pkgs/misc/urbit/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/urbit/default.nix')
-rw-r--r--pkgs/misc/urbit/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/misc/urbit/default.nix b/pkgs/misc/urbit/default.nix
index aa78c949e5c0..955b16bf693e 100644
--- a/pkgs/misc/urbit/default.nix
+++ b/pkgs/misc/urbit/default.nix
@@ -4,8 +4,8 @@
 }:
 
 let
-  os = if stdenv.isDarwin then "macos" else "linux";
-  arch = if stdenv.isAarch64 then "aarch64" else "x86_64";
+  os = if stdenv.hostPlatform.isDarwin then "macos" else "linux";
+  arch = if stdenv.hostPlatform.isAarch64 then "aarch64" else "x86_64";
   platform = "${os}-${arch}";
 in
 stdenv.mkDerivation rec {