about summary refs log tree commit diff
path: root/pkgs/by-name/up/upsun/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/up/upsun/package.nix')
-rw-r--r--pkgs/by-name/up/upsun/package.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/by-name/up/upsun/package.nix b/pkgs/by-name/up/upsun/package.nix
index 378226a1cbd4..fd1242e59330 100644
--- a/pkgs/by-name/up/upsun/package.nix
+++ b/pkgs/by-name/up/upsun/package.nix
@@ -8,11 +8,11 @@
 }:
 
 let versions = lib.importJSON ./versions.json;
-    arch = if stdenvNoCC.isx86_64 then "amd64"
-           else if stdenvNoCC.isAarch64 then "arm64"
+    arch = if stdenvNoCC.hostPlatform.isx86_64 then "amd64"
+           else if stdenvNoCC.hostPlatform.isAarch64 then "arm64"
            else throw "Unsupported architecture";
-    os = if stdenvNoCC.isLinux then "linux"
-         else if stdenvNoCC.isDarwin then "darwin"
+    os = if stdenvNoCC.hostPlatform.isLinux then "linux"
+         else if stdenvNoCC.hostPlatform.isDarwin then "darwin"
          else throw "Unsupported os";
     versionInfo = versions."${os}-${arch}";
     inherit (versionInfo) hash url;