ibmcloud-cli: drop x86_64-darwin from update script

This commit is contained in:
Emily
2026-02-18 07:24:31 +00:00
parent ff2c2b1b50
commit 4a59a9d8dc
2 changed files with 1 additions and 8 deletions
+1 -7
View File
@@ -21,13 +21,7 @@ let
"s390x"
else
throw "Unsupported arch: ${stdenv.hostPlatform.system}";
platform =
if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then
"macos_arm64"
else if stdenv.hostPlatform.isDarwin then
"macos"
else
"linux_${arch}";
platform = if stdenv.hostPlatform.isDarwin then "macos_arm64" else "linux_${arch}";
in
stdenv.mkDerivation (finalAttrs: {
pname = "ibmcloud-cli";
-1
View File
@@ -19,7 +19,6 @@ for system in \
i686-linux \
powerpc64le-linux \
s390x-linux \
x86_64-darwin \
aarch64-darwin; do
tmp=$(mktemp -d)
curl -fsSL -o $tmp/ibmcloud-cli $(nix-instantiate --eval -E "with import ./. {}; ibmcloud-cli.src.url" --system "$system" | tr -d '"')