From ff1efa68d5e63baa20178b5c5821edfffc3ffd2d Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:27:16 +0000 Subject: [PATCH 01/77] upbound: drop `x86_64-darwin` from update script --- pkgs/by-name/up/upbound/sources-main.json | 1 - pkgs/by-name/up/upbound/sources-stable.json | 1 - pkgs/by-name/up/upbound/update.hs | 1 - 3 files changed, 3 deletions(-) diff --git a/pkgs/by-name/up/upbound/sources-main.json b/pkgs/by-name/up/upbound/sources-main.json index eb233e0cf6c4..675310331e1e 100644 --- a/pkgs/by-name/up/upbound/sources-main.json +++ b/pkgs/by-name/up/upbound/sources-main.json @@ -37,7 +37,6 @@ "platformList": [ "aarch64-darwin", "aarch64-linux", - "x86_64-darwin", "x86_64-linux" ], "version": "0.41.0-0.rc.0.152.g4da0ccab" diff --git a/pkgs/by-name/up/upbound/sources-stable.json b/pkgs/by-name/up/upbound/sources-stable.json index d9ae0996dd70..fdf6028efebf 100644 --- a/pkgs/by-name/up/upbound/sources-stable.json +++ b/pkgs/by-name/up/upbound/sources-stable.json @@ -37,7 +37,6 @@ "platformList": [ "aarch64-darwin", "aarch64-linux", - "x86_64-darwin", "x86_64-linux" ], "version": "0.40.3" diff --git a/pkgs/by-name/up/upbound/update.hs b/pkgs/by-name/up/upbound/update.hs index d7406f8717a9..11d41a852de5 100755 --- a/pkgs/by-name/up/upbound/update.hs +++ b/pkgs/by-name/up/upbound/update.hs @@ -65,7 +65,6 @@ main = do -- Architecture mapping let archMapping = Map.fromList [ ("aarch64-darwin", "darwin_arm64") - , ("x86_64-darwin", "darwin_amd64") , ("aarch64-linux", "linux_arm64") , ("x86_64-linux", "linux_amd64") ] From e78d71b6ff35beb66744e5b1a347e0a58d96c22d Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:28:26 +0000 Subject: [PATCH 02/77] antigravity: drop `x86_64-darwin` from update script --- pkgs/by-name/an/antigravity/update.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/an/antigravity/update.js b/pkgs/by-name/an/antigravity/update.js index 45bf250a2fd5..38eb4cf7a444 100755 --- a/pkgs/by-name/an/antigravity/update.js +++ b/pkgs/by-name/an/antigravity/update.js @@ -13,12 +13,12 @@ import * as path from "node:path"; * @property {string} sha256hash SHA256 hash of the download file, example: "8eb01462dc4f26aba45be4992bda0b145d1ec210c63a6272578af27e59f23bef" * @property {string} url Download URL, example: "https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/1.11.2-6251250307170304/linux-arm/Antigravity.tar.gz", "https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/1.11.2-6251250307170304/darwin-x64/Antigravity.zip" */ -/** @typedef {"x86_64-linux" | "aarch64-linux" | "x86_64-darwin" | "aarch64-darwin"} Platform */ +/** @typedef {"x86_64-linux" | "aarch64-linux" | "aarch64-darwin"} Platform */ /** @typedef {{ version: string; vscodeVersion: string; sources: Record }} Information */ let version = ""; let vscodeVersion = ""; -async function getLatestInformation(/** @type {"linux-x64" | "linux-arm64" | "darwin-arm64" | "darwin"} */ targetSystem) { +async function getLatestInformation(/** @type {"linux-x64" | "linux-arm64" | "darwin-arm64"} */ targetSystem) { /** @type {UpdateInfo} */ const latestInfo = await (await fetch(`https://antigravity-auto-updater-974169037036.us-central1.run.app/api/update/${targetSystem}/stable/latest`)).json(); const newVersion = /\/antigravity\/stable\/([\d.]+)-[\d]+/.exec(latestInfo.url)?.[1] ?? ""; // Current API lack version field now, we need to parse it from the URL temporarily. @@ -35,7 +35,6 @@ async function getLatestInformation(/** @type {"linux-x64" | "linux-arm64" | "da const sources = { "x86_64-linux": await getLatestInformation("linux-x64"), "aarch64-linux": await getLatestInformation("linux-arm64"), - "x86_64-darwin": await getLatestInformation("darwin"), "aarch64-darwin": await getLatestInformation("darwin-arm64"), }; /** @type {Information} */ From 8671773f43a8634176c3d8096d17962ae57eb0f0 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:33:19 +0000 Subject: [PATCH 03/77] buck2: drop `x86_64-darwin` from update script --- pkgs/by-name/bu/buck2/update.nu | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/bu/buck2/update.nu b/pkgs/by-name/bu/buck2/update.nu index dd43e7b834b6..57188e797bee 100755 --- a/pkgs/by-name/bu/buck2/update.nu +++ b/pkgs/by-name/bu/buck2/update.nu @@ -5,7 +5,6 @@ const ARCHES = [ { name: "x86_64-linux", target: "x86_64-unknown-linux-gnu" }, - { name: "x86_64-darwin", target: "x86_64-apple-darwin" }, { name: "aarch64-linux", target: "aarch64-unknown-linux-gnu" }, { name: "aarch64-darwin", target: "aarch64-apple-darwin" }, ]; From 464931110abd1c86948fe2aaa1f8510254e4f34d Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:34:56 +0000 Subject: [PATCH 04/77] electron-bin: drop `x86_64-darwin` from update script --- pkgs/development/tools/electron/binary/update.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/tools/electron/binary/update.py b/pkgs/development/tools/electron/binary/update.py index 67efba73c362..1ee10323df6e 100755 --- a/pkgs/development/tools/electron/binary/update.py +++ b/pkgs/development/tools/electron/binary/update.py @@ -47,7 +47,6 @@ systems = { "x86_64-linux": "linux-x64", "armv7l-linux": "linux-armv7l", "aarch64-linux": "linux-arm64", - "x86_64-darwin": "darwin-x64", "aarch64-darwin": "darwin-arm64", } From 3b75f9ba72d328bfc3cbc20b476d665c8bd825a1 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:37:21 +0000 Subject: [PATCH 05/77] flutterPackages{,-source}.*: drop `x86_64-darwin` from update script --- .../compilers/flutter/update/get-artifact-hashes.nix.in | 1 - .../development/compilers/flutter/update/get-dart-hashes.nix.in | 1 - pkgs/development/compilers/flutter/update/update.py | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in b/pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in index 8edff6a2e876..b67f45d42bbd 100644 --- a/pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in +++ b/pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in @@ -21,7 +21,6 @@ let systemPlatforms = [ "x86_64-linux" "aarch64-linux" - "x86_64-darwin" "aarch64-darwin" ]; diff --git a/pkgs/development/compilers/flutter/update/get-dart-hashes.nix.in b/pkgs/development/compilers/flutter/update/get-dart-hashes.nix.in index 0972a3578b52..7b140b1d6d70 100644 --- a/pkgs/development/compilers/flutter/update/get-dart-hashes.nix.in +++ b/pkgs/development/compilers/flutter/update/get-dart-hashes.nix.in @@ -9,7 +9,6 @@ let { x86_64-linux = "linux-x64"; aarch64-linux = "linux-arm64"; - x86_64-darwin = "macos-x64"; aarch64-darwin = "macos-arm64"; } ."@platform@"; diff --git a/pkgs/development/compilers/flutter/update/update.py b/pkgs/development/compilers/flutter/update/update.py index 7a28cc46d949..971af0d17285 100755 --- a/pkgs/development/compilers/flutter/update/update.py +++ b/pkgs/development/compilers/flutter/update/update.py @@ -153,7 +153,7 @@ def get_artifact_hashes(flutter_compact_version): def get_dart_hashes(dart_version, channel): - platforms = ["x86_64-linux", "aarch64-linux", "x86_64-darwin", "aarch64-darwin"] + platforms = ["x86_64-linux", "aarch64-linux", "aarch64-darwin"] result_dict = {} for platform in platforms: code = load_code( From 0e752287b7dd6bce378fb9096eca10d903eb3073 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:39:01 +0000 Subject: [PATCH 06/77] mirrord: drop `x86_64-darwin` from update script --- pkgs/by-name/mi/mirrord/update.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/mi/mirrord/update.py b/pkgs/by-name/mi/mirrord/update.py index 5756363cfc7c..580aafb451c2 100755 --- a/pkgs/by-name/mi/mirrord/update.py +++ b/pkgs/by-name/mi/mirrord/update.py @@ -12,7 +12,6 @@ platforms = { "x86_64-linux": "linux_x86_64", "aarch64-linux": "linux_aarch64", "aarch64-darwin": "mac_universal", - "x86_64-darwin": "mac_universal", } if __name__ == "__main__": From b1edf5e60665c42e5b97eccbcfcfd38a11fd19c3 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:41:30 +0000 Subject: [PATCH 07/77] segger-jlink: drop `x86_64-darwin` from update script --- pkgs/by-name/se/segger-jlink/update.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/se/segger-jlink/update.py b/pkgs/by-name/se/segger-jlink/update.py index 35e8586beb67..9768927006ed 100755 --- a/pkgs/by-name/se/segger-jlink/update.py +++ b/pkgs/by-name/se/segger-jlink/update.py @@ -18,7 +18,6 @@ ARCH_MAP = { 'aarch64-linux': Arch(os='Linux', name='arm64', ext='tgz'), 'armv7l-linux': Arch(os='Linux', name='arm', ext='tgz'), 'aarch64-darwin': Arch(os='MacOSX', name='arm64', ext='pkg'), - 'x86_64-darwin': Arch(os='MacOSX', name='x86_64', ext='pkg'), } From 28a7b26e3a055b089a7c30ad292e537467eb48cc Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:42:20 +0000 Subject: [PATCH 08/77] ocis_5-bin: drop `x86_64-darwin` from update script --- pkgs/by-name/oc/ocis_5-bin/package.nix | 3 +-- pkgs/by-name/oc/ocis_5-bin/update.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/by-name/oc/ocis_5-bin/package.nix b/pkgs/by-name/oc/ocis_5-bin/package.nix index 2453d3df8c00..00e35dfab40c 100644 --- a/pkgs/by-name/oc/ocis_5-bin/package.nix +++ b/pkgs/by-name/oc/ocis_5-bin/package.nix @@ -30,7 +30,6 @@ let hash_amd64-linux = "sha256-tmUfDKLO35qCs1hauJQKhJhcnMhqOpcqDFtAggMFhLE="; hash_arm64-linux = "sha256-ggRDW1cnTHMQKvOvCDH3eptH3O3PgYaondlzOGHTjio="; hash_arm-linux = "sha256-uMLRow1NeHufSI5B4k5qSIfH3lTxg+WxzLxgdedAz40="; - hash_amd64-darwin = "sha256-LZ6n/f2MdbFaPnBCoJqZZ7HQiLG3Z6ZoatgFsxaFvMc="; hash_arm64-darwin = "sha256-k5X2ZInFS/HlToOZPX23TRJqlx/XM1ZG++Xr4BHn8SY="; } ."hash_${arch}-${os}"; @@ -73,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: { (lib.intersectLists lib.platforms.linux ( lib.platforms.arm ++ lib.platforms.aarch64 ++ lib.platforms.x86 )) - ++ (lib.intersectLists lib.platforms.darwin (lib.platforms.aarch64 ++ lib.platforms.x86_64)); + ++ lib.platforms.darwin; sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; mainProgram = "ocis"; diff --git a/pkgs/by-name/oc/ocis_5-bin/update.py b/pkgs/by-name/oc/ocis_5-bin/update.py index c2f717cb41d5..8436e735b6cb 100755 --- a/pkgs/by-name/oc/ocis_5-bin/update.py +++ b/pkgs/by-name/oc/ocis_5-bin/update.py @@ -251,7 +251,6 @@ def main(): systems = [ ("darwin", "arm64", "aarch64-darwin"), - ("darwin", "amd64", "x86_64-darwin"), ("linux", "arm64", "aarch64-linux"), ("linux", "arm", "armv7l-linux"), ("linux", "amd64", "x86_64-linux"), From abfb500228958f8c387d04ca2a3ae6a77616e1f4 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:42:52 +0000 Subject: [PATCH 09/77] fermyon-spin: drop `x86_64-darwin` from update script --- pkgs/by-name/fe/fermyon-spin/update.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/fe/fermyon-spin/update.py b/pkgs/by-name/fe/fermyon-spin/update.py index 2a2129a5926e..7fbff7d295f2 100755 --- a/pkgs/by-name/fe/fermyon-spin/update.py +++ b/pkgs/by-name/fe/fermyon-spin/update.py @@ -7,7 +7,6 @@ from os.path import join, dirname # We set oldHash and newHash fields in the inner dict later. systems = { "x86_64-linux": {"os": "linux", "arch": "amd64"}, - "x86_64-darwin": {"os": "macos", "arch": "amd64"}, "aarch64-linux": {"os": "linux", "arch": "aarch64"}, "aarch64-darwin": {"os": "macos", "arch": "aarch64"}, } From dcc0f1b8b6e70364d3a2b18e62aaf8ac1d46494c Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:44:17 +0000 Subject: [PATCH 10/77] jetbrains: drop `x86_64-darwin` from update script --- pkgs/applications/editors/jetbrains/readme.md | 2 -- .../editors/jetbrains/updater/jetbrains_nix_updater/config.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/editors/jetbrains/readme.md b/pkgs/applications/editors/jetbrains/readme.md index 0ed0a67d4fd5..c890021090e9 100644 --- a/pkgs/applications/editors/jetbrains/readme.md +++ b/pkgs/applications/editors/jetbrains/readme.md @@ -78,7 +78,5 @@ Any comments or other manual changes between these markers will be removed when - on `aarch64-linux`: - from source build - see if build (binary or source) works without expat - - on `x86_64-darwin`: - - from source build - on `aarch64-darwin`: - from source build diff --git a/pkgs/applications/editors/jetbrains/updater/jetbrains_nix_updater/config.py b/pkgs/applications/editors/jetbrains/updater/jetbrains_nix_updater/config.py index 0449427e945f..d2c202c13fcf 100644 --- a/pkgs/applications/editors/jetbrains/updater/jetbrains_nix_updater/config.py +++ b/pkgs/applications/editors/jetbrains/updater/jetbrains_nix_updater/config.py @@ -3,7 +3,7 @@ import os import dataclasses from pathlib import Path -SUPPORTED_SYSTEMS = ["x86_64-linux", "aarch64-linux", "x86_64-darwin", "aarch64-darwin"] +SUPPORTED_SYSTEMS = ["x86_64-linux", "aarch64-linux", "aarch64-darwin"] def find_nixpkgs(current_path: Path) -> Path: From 229a3a01d352236a89f959d9265d9484106c8460 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:47:36 +0000 Subject: [PATCH 11/77] vscodium: drop `x86_64-darwin` from update script --- pkgs/applications/editors/vscode/update-vscodium.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/update-vscodium.sh b/pkgs/applications/editors/vscode/update-vscodium.sh index 6420ff0ee1f2..08c776dd9a46 100755 --- a/pkgs/applications/editors/vscode/update-vscodium.sh +++ b/pkgs/applications/editors/vscode/update-vscodium.sh @@ -21,8 +21,7 @@ for i in \ "aarch64-linux linux-arm64 tar.gz" \ "armv7l-linux linux-armhf tar.gz" \ "loongarch64-linux linux-loong64 tar.gz" \ - "aarch64-darwin darwin-arm64 zip" \ - "x86_64-darwin darwin-x64 zip"; do + "aarch64-darwin darwin-arm64 zip"; do set -- $i hash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri $(nix-prefetch-url "https://github.com/VSCodium/vscodium/releases/download/$latestVersion/VSCodium-$2-$latestVersion.$3")) update-source-version vscodium $latestVersion $hash --system=$1 --ignore-same-version From f4f71222f4869d1e980490a014f5c4f91b06d29c Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:56:47 +0000 Subject: [PATCH 12/77] grafana: drop `x86_64-darwin` from update script --- pkgs/servers/monitoring/grafana/plugins/update-grafana-plugin.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/servers/monitoring/grafana/plugins/update-grafana-plugin.sh b/pkgs/servers/monitoring/grafana/plugins/update-grafana-plugin.sh index 34638be8d264..1e28cab67df2 100755 --- a/pkgs/servers/monitoring/grafana/plugins/update-grafana-plugin.sh +++ b/pkgs/servers/monitoring/grafana/plugins/update-grafana-plugin.sh @@ -41,6 +41,5 @@ if echo "$api_response" | jq -e '.packages | select(length == 1) | .any' > /dev/ else update "linux-amd64" "x86_64-linux" update "linux-arm64" "aarch64-linux" - update "darwin-amd64" "x86_64-darwin" update "darwin-arm64" "aarch64-darwin" fi From 0d745b7d709671a1eddd2874af881b2aedac1c62 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:58:28 +0000 Subject: [PATCH 13/77] graalvmPackages.*: drop `x86_64-darwin` from update script --- pkgs/development/compilers/graalvm/community-edition/update.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/compilers/graalvm/community-edition/update.sh b/pkgs/development/compilers/graalvm/community-edition/update.sh index 30f1782e53b9..88c233e6d20f 100755 --- a/pkgs/development/compilers/graalvm/community-edition/update.sh +++ b/pkgs/development/compilers/graalvm/community-edition/update.sh @@ -82,14 +82,12 @@ if [[ "$product" == "graalvm-ce" ]]; then [aarch64-linux]="linux-aarch64" [x86_64-linux]="linux-x64" [aarch64-darwin]="macos-aarch64" - [x86_64-darwin]="macos-x64" ) else declare -r -A platforms=( [aarch64-linux]="linux-aarch64" [x86_64-linux]="linux-amd64" [aarch64-darwin]="macos-aarch64" - [x86_64-darwin]="macos-amd64" ) fi From f87de25a75c11437e790c5bb05b9af1751ea657c Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:59:08 +0000 Subject: [PATCH 14/77] infisical: drop `x86_64-darwin` from update script --- pkgs/development/tools/infisical/hashes.json | 1 - pkgs/development/tools/infisical/update.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/pkgs/development/tools/infisical/hashes.json b/pkgs/development/tools/infisical/hashes.json index f4b015db3c1c..3a88405c8e72 100644 --- a/pkgs/development/tools/infisical/hashes.json +++ b/pkgs/development/tools/infisical/hashes.json @@ -1,6 +1,5 @@ { "_comment": "@generated by pkgs/development/tools/infisical/update.sh" , "x86_64-linux": "sha256-/2fksPX6/hsz6hYGdn5iNah0LMR+avY0zf9UuNH8zAo=" - , "aarch64-linux": "sha256-lrkyolCSgLQiet287Br0aGYCP/daaYzJAaqMvsqsbsw=" , "aarch64-darwin": "sha256-pw06koxiY9gYvDw0b6tRTMy3BGYS36mxV0q8TWEA7vM=" } diff --git a/pkgs/development/tools/infisical/update.sh b/pkgs/development/tools/infisical/update.sh index dc2a855d9cf0..53f2b236dcd2 100755 --- a/pkgs/development/tools/infisical/update.sh +++ b/pkgs/development/tools/infisical/update.sh @@ -15,7 +15,6 @@ echo "Latest infisical release: $VERSION" ARCHS=( "x86_64-linux:linux_amd64" - "x86_64-darwin:darwin_amd64" "aarch64-linux:linux_arm64" "aarch64-darwin:darwin_arm64" ) From 0b3afe8c2c8882de6608a5fede6c1a677ab5f20b Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 06:59:37 +0000 Subject: [PATCH 15/77] qq: drop `x86_64-darwin` from update script --- pkgs/by-name/qq/qq/update.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/qq/qq/update.sh b/pkgs/by-name/qq/qq/update.sh index ecc1c769d0dd..af58939b7598 100755 --- a/pkgs/by-name/qq/qq/update.sh +++ b/pkgs/by-name/qq/qq/update.sh @@ -36,18 +36,14 @@ cat >sources.nix < Date: Wed, 18 Feb 2026 07:00:03 +0000 Subject: [PATCH 16/77] python3Packages.semgrep: drop `x86_64-darwin` from update script --- pkgs/development/python-modules/semgrep/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/semgrep/update.sh b/pkgs/development/python-modules/semgrep/update.sh index c5eecc39491f..58d492de5dce 100755 --- a/pkgs/development/python-modules/semgrep/update.sh +++ b/pkgs/development/python-modules/semgrep/update.sh @@ -105,7 +105,6 @@ update_core_platform() { # update_core_platform update_core_platform "x86_64-linux" "x86_64" "manylinux" update_core_platform "aarch64-linux" "aarch64" "manylinux" -update_core_platform "x86_64-darwin" "x86_64" "macosx" update_core_platform "aarch64-darwin" "arm64" "macosx" OLD_PWD=$PWD From c8f30b14bf4b2d9dd16577bfbd2bbba29b435bb3 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:01:09 +0000 Subject: [PATCH 17/77] waveterm: drop `x86_64-darwin` from update script --- pkgs/by-name/wa/waveterm/package.nix | 16 ++++------------ pkgs/by-name/wa/waveterm/update.sh | 1 - 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/pkgs/by-name/wa/waveterm/package.nix b/pkgs/by-name/wa/waveterm/package.nix index ede934b2012c..7a95527e4c9b 100644 --- a/pkgs/by-name/wa/waveterm/package.nix +++ b/pkgs/by-name/wa/waveterm/package.nix @@ -125,18 +125,10 @@ let darwin = stdenv.mkDerivation { inherit pname version passthru; - src = - let - arch = selectSystem { - aarch64-darwin = "arm64"; - }; - in - fetchurl { - url = "https://github.com/wavetermdev/waveterm/releases/download/v${version}/Wave-darwin-${arch}-${version}.zip"; - hash = selectSystem { - aarch64-darwin = "sha256-NY/KFFGgtrQr9YL32nudWeTIGNDjswelcOD1wo+Jh3s="; - }; - }; + src = fetchurl { + url = "https://github.com/wavetermdev/waveterm/releases/download/v${version}/Wave-darwin-arm64-${version}.zip"; + hash = "sha256-NY/KFFGgtrQr9YL32nudWeTIGNDjswelcOD1wo+Jh3s="; + }; nativeBuildInputs = [ unzip ]; diff --git a/pkgs/by-name/wa/waveterm/update.sh b/pkgs/by-name/wa/waveterm/update.sh index a6464739a68a..5d70fa08f18b 100755 --- a/pkgs/by-name/wa/waveterm/update.sh +++ b/pkgs/by-name/wa/waveterm/update.sh @@ -25,7 +25,6 @@ for i in \ done for i in \ - "x86_64-darwin x64" \ "aarch64-darwin arm64"; do set -- $i prefetch=$(nix-prefetch-url "https://github.com/wavetermdev/waveterm/releases/download/v$latestVersion/Wave-darwin-$2-$latestVersion.zip") From bf47b711da79d76fed5697aae52cefd39686fe9d Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:01:57 +0000 Subject: [PATCH 18/77] spotify: drop `x86_64-darwin` from update script --- pkgs/by-name/sp/spotify/darwin.nix | 22 +++++++--------------- pkgs/by-name/sp/spotify/update.sh | 6 ------ 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/pkgs/by-name/sp/spotify/darwin.nix b/pkgs/by-name/sp/spotify/darwin.nix index dd5f6f64c675..b4ecae09c949 100644 --- a/pkgs/by-name/sp/spotify/darwin.nix +++ b/pkgs/by-name/sp/spotify/darwin.nix @@ -13,21 +13,13 @@ stdenv.mkDerivation { version = "1.2.92.147"; - src = - # WARNING: This Wayback Machine URL redirects to the closest timestamp. - # Future maintainers must manually check the timestamp exists and exactly matches at: - # https://web.archive.org/web/*/https://download.scdn.co/SpotifyARM64.dmg - # https://web.archive.org/web/*/https://download.scdn.co/Spotify.dmg - if stdenv.hostPlatform.isAarch64 then - (fetchurl { - url = "https://web.archive.org/web/20260607203830/https://download.scdn.co/SpotifyARM64.dmg"; - hash = "sha256-rQuvF7LWHBR3q8GJQWO671n1NRDKinQps+zYfXPktrU="; - }) - else - (fetchurl { - url = "https://web.archive.org/web/20260607203705/https://download.scdn.co/Spotify.dmg"; - hash = "sha256-jX7nBPiwxnKXWpN4/XiXKBl6Eg01954+VDwWRoJfdbk="; - }); + # WARNING: This Wayback Machine URL redirects to the closest timestamp. + # Future maintainers must manually check the timestamp exists and exactly matches at: + # https://web.archive.org/web/*/https://download.scdn.co/SpotifyARM64.dmg + src = fetchurl { + url = "https://web.archive.org/web/20260607203830/https://download.scdn.co/SpotifyARM64.dmg"; + hash = "sha256-rQuvF7LWHBR3q8GJQWO671n1NRDKinQps+zYfXPktrU="; + }; nativeBuildInputs = [ undmg ]; diff --git a/pkgs/by-name/sp/spotify/update.sh b/pkgs/by-name/sp/spotify/update.sh index 65f986f5668a..a05690ceedc4 100755 --- a/pkgs/by-name/sp/spotify/update.sh +++ b/pkgs/by-name/sp/spotify/update.sh @@ -83,7 +83,6 @@ update_macos() { pushd $tmp_dir - x86_64_url="https://download.scdn.co/Spotify.dmg" aarch64_url="https://download.scdn.co/SpotifyARM64.dmg" curl -OL $aarch64_url @@ -99,13 +98,8 @@ update_macos() { if [[ "$current_nix_version" != "$upstream_version" ]]; then archive_url="https://web.archive.org/save" - archived_x86_64_url=$(curl -s -I -L -o /dev/null "$archive_url/$x86_64_url" -w '%{url_effective}') archived_aarch64_url=$(curl -s -I -L -o /dev/null "$archive_url/$aarch64_url" -w '%{url_effective}') - update-source-version "pkgsCross.x86_64-darwin.spotify" "$upstream_version" "" "$archived_x86_64_url" \ - --file=$nix_file \ - --ignore-same-version - update-source-version "pkgsCross.aarch64-darwin.spotify" "$upstream_version" "" "$archived_aarch64_url" \ --file=$nix_file \ --ignore-same-version From d5625ce08602b4704a6be84915d2b4aae96f7c96 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:03:46 +0000 Subject: [PATCH 19/77] vault-bin: drop `x86_64-darwin` from update script --- pkgs/by-name/va/vault-bin/update-bin.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/va/vault-bin/update-bin.sh b/pkgs/by-name/va/vault-bin/update-bin.sh index 8a3ff2504196..90055597b9cf 100755 --- a/pkgs/by-name/va/vault-bin/update-bin.sh +++ b/pkgs/by-name/va/vault-bin/update-bin.sh @@ -27,7 +27,6 @@ VAULT_VER=$(curl -Ls -w "%{url_effective}" -o /dev/null https://github.com/hashi VAULT_LINUX_X86_SHA256=$(calc_hash "$VAULT_VER" "linux_386") VAULT_LINUX_X64_SHA256=$(calc_hash "$VAULT_VER" "linux_amd64") -VAULT_DARWIN_X64_SHA256=$(calc_hash "$VAULT_VER" "darwin_amd64") VAULT_LINUX_AARCH64_SHA256=$(calc_hash "$VAULT_VER" "linux_arm64") VAULT_DARWIN_AARCH64_SHA256=$(calc_hash "$VAULT_VER" "darwin_arm64") @@ -35,6 +34,5 @@ sed -i "s/version = \".*\"/version = \"$VAULT_VER\"/" "$NIX_DRV" replace_sha "i686-linux" "$VAULT_LINUX_X86_SHA256" replace_sha "x86_64-linux" "$VAULT_LINUX_X64_SHA256" -replace_sha "x86_64-darwin" "$VAULT_DARWIN_X64_SHA256" replace_sha "aarch64-linux" "$VAULT_LINUX_AARCH64_SHA256" replace_sha "aarch64-darwin" "$VAULT_DARWIN_AARCH64_SHA256" From fba6a76e376ea77388e83acb53b9ccfdc06549d7 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:04:23 +0000 Subject: [PATCH 20/77] urbit: drop `x86_64-darwin` from update script --- pkgs/by-name/ur/urbit/update-bin.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ur/urbit/update-bin.sh b/pkgs/by-name/ur/urbit/update-bin.sh index d8cc7deb9bb8..f26c53dc49f6 100755 --- a/pkgs/by-name/ur/urbit/update-bin.sh +++ b/pkgs/by-name/ur/urbit/update-bin.sh @@ -19,7 +19,6 @@ prefetch() { LINUX_AARCH64_SHA256=$(prefetch "linux-aarch64") LINUX_X64_SHA256=$(prefetch "linux-x86_64") DARWIN_AARCH64_SHA256=$(prefetch "macos-aarch64") -DARWIN_X64_SHA256=$(prefetch "macos-x86_64") sed -i "s/version = \".*\"/version = \"$VERSION\"/" "$NIX_DRV" @@ -32,4 +31,3 @@ replace-sha256() { replace-sha256 "aarch64-linux" "$LINUX_AARCH64_SHA256" replace-sha256 "x86_64-linux" "$LINUX_X64_SHA256" replace-sha256 "aarch64-darwin" "$DARWIN_AARCH64_SHA256" -replace-sha256 "x86_64-darwin" "$DARWIN_X64_SHA256" From 4162f8121eb88fea352c9dbd5d47d84140b943e7 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:04:47 +0000 Subject: [PATCH 21/77] pdfium-binaries: drop `x86_64-darwin` from update script --- pkgs/by-name/pd/pdfium-binaries/update.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/pd/pdfium-binaries/update.sh b/pkgs/by-name/pd/pdfium-binaries/update.sh index 7546a8926329..05957cc0d630 100755 --- a/pkgs/by-name/pd/pdfium-binaries/update.sh +++ b/pkgs/by-name/pd/pdfium-binaries/update.sh @@ -19,7 +19,6 @@ update-source-version pdfium-binaries $latestVersion || true for system in \ x86_64-linux \ aarch64-linux \ - x86_64-darwin \ aarch64-darwin; do hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url --unpack $(nix-instantiate --eval -E "with import ./. {}; pdfium-binaries.src.url" --system "$system" | tr -d '"'))) update-source-version pdfium-binaries $latestVersion $hash --system=$system --ignore-same-version @@ -28,7 +27,6 @@ done for system in \ x86_64-linux \ aarch64-linux \ - x86_64-darwin \ aarch64-darwin; do hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url --unpack $(nix-instantiate --eval -E "with import ./. {}; pdfium-binaries-v8.src.url" --system "$system" | tr -d '"'))) update-source-version pdfium-binaries-v8 $latestVersion $hash --system=$system --ignore-same-version From 1246d6b04d79f7f565ae8bb67c33219fe143f06f Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:05:32 +0000 Subject: [PATCH 22/77] slack: drop `x86_64-darwin` from update script --- pkgs/by-name/sl/slack/update.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pkgs/by-name/sl/slack/update.sh b/pkgs/by-name/sl/slack/update.sh index c54a9a5e7c29..1001f3e1c32a 100755 --- a/pkgs/by-name/sl/slack/update.sh +++ b/pkgs/by-name/sl/slack/update.sh @@ -6,25 +6,20 @@ set -euo pipefail cd $(readlink -e $(dirname "${BASH_SOURCE[0]}")) aarch64_darwin_data=$(curl -s 'https://slack.com/api/desktop.latestRelease?arch=arm64&variant=dmg') -x86_64_darwin_data=$(curl -s 'https://slack.com/api/desktop.latestRelease?arch=x64&variant=dmg') x86_64_linux_data=$(curl -s 'https://slack.com/api/desktop.latestRelease?arch=x64&variant=deb') aarch64_darwin_version=$(jq -r .version <<< "$aarch64_darwin_data") -x86_64_darwin_version=$(jq -r .version <<< "$x86_64_darwin_data") x86_64_linux_version=$(jq -r .version <<< "$x86_64_linux_data") aarch64_darwin_url=$(jq -r .download_url <<< "$aarch64_darwin_data") -x86_64_darwin_url=$(jq -r .download_url <<< "$x86_64_darwin_data") x86_64_linux_url=$(jq -r .download_url <<< "$x86_64_linux_data") aarch64_darwin_hash=$(nix-prefetch-url "$aarch64_darwin_url") -x86_64_darwin_hash=$(nix-prefetch-url "$x86_64_darwin_url") x86_64_linux_hash=$(nix-prefetch-url "$x86_64_linux_url") # use friendlier hashes aarch64_darwin_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$aarch64_darwin_hash") -x86_64_darwin_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$x86_64_darwin_hash") x86_64_linux_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$x86_64_linux_hash") cat >sources.nix <sources.nix < Date: Wed, 18 Feb 2026 07:05:54 +0000 Subject: [PATCH 23/77] unison-ucm: drop `x86_64-darwin` from update script --- pkgs/by-name/un/unison-ucm/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/un/unison-ucm/update.sh b/pkgs/by-name/un/unison-ucm/update.sh index e840fbf9d779..365866f1766c 100755 --- a/pkgs/by-name/un/unison-ucm/update.sh +++ b/pkgs/by-name/un/unison-ucm/update.sh @@ -28,7 +28,6 @@ sed -i "s/version = \"$current_version\";/version = \"$version\";/" package.nix # Define platforms and their corresponding URL suffixes declare -A platforms=( ["aarch64-darwin"]="ucm-macos-arm64.tar.gz" - ["x86_64-darwin"]="ucm-macos-x64.tar.gz" ["aarch64-linux"]="ucm-linux-arm64.tar.gz" ["x86_64-linux"]="ucm-linux-x64.tar.gz" ) From 7d6fcf6ee3c996ab1f8c08564ca202f16662c994 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:06:58 +0000 Subject: [PATCH 24/77] trilium-desktop: drop `x86_64-darwin` from update script --- pkgs/by-name/tr/trilium-desktop/update.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/tr/trilium-desktop/update.sh b/pkgs/by-name/tr/trilium-desktop/update.sh index 13f217de8426..460559f74c28 100755 --- a/pkgs/by-name/tr/trilium-desktop/update.sh +++ b/pkgs/by-name/tr/trilium-desktop/update.sh @@ -18,11 +18,9 @@ setKV ./package.nix version $version # Update desktop application sha256_linux64=$(nix store prefetch-file --json --hash-type sha256 https://github.com/TriliumNext/Trilium/releases/download/v${version}/TriliumNotes-v${version}-linux-x64.zip | jq -r .hash) sha256_linux64_arm=$(nix store prefetch-file --json --hash-type sha256 https://github.com/TriliumNext/Trilium/releases/download/v${version}/TriliumNotes-v${version}-linux-arm64.zip | jq -r .hash) -sha256_darwin64=$(nix store prefetch-file --json --hash-type sha256 https://github.com/TriliumNext/Trilium/releases/download/v${version}/TriliumNotes-v${version}-macos-x64.zip | jq -r .hash) sha256_darwin64_arm=$(nix store prefetch-file --json --hash-type sha256 https://github.com/TriliumNext/Trilium/releases/download/v${version}/TriliumNotes-v${version}-macos-arm64.zip | jq -r .hash) setKV ./package.nix x86_64-linux.hash $sha256_linux64 setKV ./package.nix aarch64-linux.hash $sha256_linux64_arm -setKV ./package.nix x86_64-darwin.hash $sha256_darwin64 setKV ./package.nix aarch64-darwin.hash $sha256_darwin64_arm electronVersion=$(curl_github "https://raw.githubusercontent.com/TriliumNext/Trilium/v$version/apps/desktop/package.json" | jq -r ".devDependencies.electron" | sed -r 's|^\^?([0-9]+).*|\1|') sed -r "s|(electron_)[0-9]+|\1$electronVersion|" -i ./package.nix From 1c709898af9c5ce40ccafd1986489a03187f4c0a Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:07:19 +0000 Subject: [PATCH 25/77] tailwindcss_3: drop `x86_64-darwin` from update script --- pkgs/by-name/ta/tailwindcss_3/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ta/tailwindcss_3/update.sh b/pkgs/by-name/ta/tailwindcss_3/update.sh index 0bc2cd7d0117..7ce464ea7f2d 100755 --- a/pkgs/by-name/ta/tailwindcss_3/update.sh +++ b/pkgs/by-name/ta/tailwindcss_3/update.sh @@ -27,5 +27,4 @@ function updatePlatform() { updatePlatform aarch64-darwin macos-arm64 updatePlatform aarch64-linux linux-arm64 updatePlatform armv7l-linux linux-armv7 -updatePlatform x86_64-darwin macos-x64 updatePlatform x86_64-linux linux-x64 From 5ad13232c01872ea1cedd83a4cfee8d3ae8991c8 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:08:51 +0000 Subject: [PATCH 26/77] tailwindcss_4: drop `x86_64-darwin` from update script --- pkgs/by-name/ta/tailwindcss_4/update.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ta/tailwindcss_4/update.sh b/pkgs/by-name/ta/tailwindcss_4/update.sh index dbb5912c3437..93ea8329299e 100755 --- a/pkgs/by-name/ta/tailwindcss_4/update.sh +++ b/pkgs/by-name/ta/tailwindcss_4/update.sh @@ -24,12 +24,10 @@ VER=$(list-git-tags --url=https://github.com/tailwindlabs/tailwindcss | rg 'v4[0 LINUX_X64_HASH=$(fetch_arch "$VER" "linux-x64") LINUX_AARCH64_HASH=$(fetch_arch "$VER" "linux-arm64") -DARWIN_X64_HASH=$(fetch_arch "$VER" "macos-x64") DARWIN_AARCH64_HASH=$(fetch_arch "$VER" "macos-arm64") sed -i "s/version = \".*\"/version = \"$VER\"/" "$NIX_DRV" replace_hash "x86_64-linux" "$LINUX_X64_HASH" replace_hash "aarch64-linux" "$LINUX_AARCH64_HASH" -replace_hash "x86_64-darwin" "$DARWIN_X64_HASH" replace_hash "aarch64-darwin" "$DARWIN_AARCH64_HASH" From faa77940a8a844356aadc8cd3ebc18bb7927218b Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:08:30 +0000 Subject: [PATCH 27/77] google-cloud-sdk: drop `x86_64-darwin` from update script --- pkgs/by-name/go/google-cloud-sdk/update.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/by-name/go/google-cloud-sdk/update.sh b/pkgs/by-name/go/google-cloud-sdk/update.sh index e8f3caf832f8..aea218cc1f87 100755 --- a/pkgs/by-name/go/google-cloud-sdk/update.sh +++ b/pkgs/by-name/go/google-cloud-sdk/update.sh @@ -30,9 +30,6 @@ EOF echo -n " x86_64-linux =" genMainSrc "linux" "x86_64" - echo -n " x86_64-darwin =" - genMainSrc "darwin" "x86_64" - echo -n " aarch64-linux =" genMainSrc "linux" "arm" From c612c10cb838dbeff4eaaa42f195b297a3e1ac91 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:09:30 +0000 Subject: [PATCH 28/77] tabnine: drop `x86_64-darwin` from update script --- pkgs/by-name/ta/tabnine/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ta/tabnine/update.sh b/pkgs/by-name/ta/tabnine/update.sh index 5269a027198b..928899327139 100755 --- a/pkgs/by-name/ta/tabnine/update.sh +++ b/pkgs/by-name/ta/tabnine/update.sh @@ -13,7 +13,6 @@ function prefetch-sri() { declare -A platforms=( [x86_64-unknown-linux-musl]="x86_64-linux" - [x86_64-apple-darwin]="x86_64-darwin" [aarch64-apple-darwin]="aarch64-darwin" ) From 380fb22754682a52b2976ac18eaca019cd543a98 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:09:50 +0000 Subject: [PATCH 29/77] nrfutil: drop `x86_64-darwin` mention in update script --- pkgs/by-name/nr/nrfutil/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/nr/nrfutil/update.sh b/pkgs/by-name/nr/nrfutil/update.sh index 72bb4763a361..c8329f892aec 100755 --- a/pkgs/by-name/nr/nrfutil/update.sh +++ b/pkgs/by-name/nr/nrfutil/update.sh @@ -17,7 +17,6 @@ declare -a packages architectures["x86_64-linux"]="x86_64-unknown-linux-gnu" architectures["aarch64-linux"]="aarch64-unknown-linux-gnu" # NOTE: segger-jlink is not yet packaged for darwin -# architectures["x86_64-darwin"]="x86_64-apple-darwin" # architectures["aarch64-darwin"]="aarch64-apple-darwin" packages=( From c93b651c03e7276414bb884f20fb5e35158bac4d Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:11:35 +0000 Subject: [PATCH 30/77] mochi: drop `x86_64-darwin` from update script --- pkgs/by-name/mo/mochi/package.nix | 8 ++------ pkgs/by-name/mo/mochi/update.sh | 12 +++++------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/pkgs/by-name/mo/mochi/package.nix b/pkgs/by-name/mo/mochi/package.nix index 81d56f9eb8ae..c513e7211733 100644 --- a/pkgs/by-name/mo/mochi/package.nix +++ b/pkgs/by-name/mo/mochi/package.nix @@ -41,12 +41,8 @@ let inherit pname version meta; src = fetchurl { - url = "https://download.mochi.cards/releases/Mochi-${version}${lib.optionalString stdenv.hostPlatform.isAarch64 "-arm64"}.dmg"; - hash = - if stdenv.hostPlatform.isAarch64 then - "sha256-2NADaVzkibWjxBymeF1McGEQH6xHaqDMBg080kCI0F8=" - else - "sha256-XM4vQVQ9QtvqyDu2Wx/8/Z+8H2DetfCufJYrX/1JHFw="; + url = "https://download.mochi.cards/releases/Mochi-${version}-arm64.dmg"; + hash = "sha256-2NADaVzkibWjxBymeF1McGEQH6xHaqDMBg080kCI0F8="; }; sourceRoot = "."; diff --git a/pkgs/by-name/mo/mochi/update.sh b/pkgs/by-name/mo/mochi/update.sh index cc6e20044d54..64c69ee0f4a9 100755 --- a/pkgs/by-name/mo/mochi/update.sh +++ b/pkgs/by-name/mo/mochi/update.sh @@ -17,10 +17,8 @@ fi # Update version and hash for x86_64-linux (AppImage) update-source-version mochi "$latestVersion" --system=x86_64-linux -# Update hashes for darwin systems -for system in x86_64-darwin aarch64-darwin; do - url=$(nix-instantiate --eval --json -E "with import ./. { system = \"$system\"; }; mochi.src.url" | tr -d '"') - hash=$(nix-prefetch-url "$url") - sriHash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri "$hash") - update-source-version mochi "$latestVersion" "$sriHash" --system="$system" --ignore-same-version -done +# Update hash for aarch64-darwin +url=$(nix-instantiate --eval --json -E "with import ./. { system = \"aarch64-darwin\"; }; mochi.src.url" | tr -d '"') +hash=$(nix-prefetch-url "$url") +sriHash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri "$hash") +update-source-version mochi "$latestVersion" "$sriHash" --system=aarch64-darwin --ignore-same-version From 54e0a48d5376622abe5aeb572bc65e462dfe5789 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:11:56 +0000 Subject: [PATCH 31/77] notesnook: drop `x86_64-darwin` from update script --- pkgs/by-name/no/notesnook/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/no/notesnook/update.sh b/pkgs/by-name/no/notesnook/update.sh index ed977f182a0d..fcf8f5c6027e 100755 --- a/pkgs/by-name/no/notesnook/update.sh +++ b/pkgs/by-name/no/notesnook/update.sh @@ -18,7 +18,6 @@ fi for i in \ "x86_64-linux linux_x86_64.AppImage" \ "aarch64-linux linux_arm64.AppImage" \ - "x86_64-darwin mac_x64.dmg" \ "aarch64-darwin mac_arm64.dmg"; do set -- $i hash=$(nix-hash --to-sri --type sha256 "$(nix-prefetch-url "https://github.com/streetwriters/notesnook/releases/download/v$latestVersion/notesnook_$2")") From 713b294e0dac11dc30a0f4088807b4dad4671bfb Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:12:31 +0000 Subject: [PATCH 32/77] gitkraken: drop `x86_64-darwin` from update script --- pkgs/by-name/gi/gitkraken/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/gi/gitkraken/update.sh b/pkgs/by-name/gi/gitkraken/update.sh index 8c75dc1a4977..3330868113c0 100755 --- a/pkgs/by-name/gi/gitkraken/update.sh +++ b/pkgs/by-name/gi/gitkraken/update.sh @@ -14,7 +14,6 @@ version=$(curl -fsSL https://api.gitkraken.dev/releases/production/linux/x64/REL # Hardcoded URLs to compute hashes declare -A tarballs=( ["x86_64-linux"]="https://api.gitkraken.dev/releases/production/linux/x64/${version}/gitkraken-amd64.tar.gz" - ["x86_64-darwin"]="https://api.gitkraken.dev/releases/production/darwin/x64/${version}/GitKraken-v${version}.zip" ["aarch64-darwin"]="https://api.gitkraken.dev/releases/production/darwin/arm64/${version}/GitKraken-v${version}.zip" ) From 97e3b4eee7b21dd9dbef311aff86d191c2762099 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:12:54 +0000 Subject: [PATCH 33/77] cursor-cli: drop `x86_64-darwin` from update script --- pkgs/by-name/cu/cursor-cli/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/cu/cursor-cli/update.sh b/pkgs/by-name/cu/cursor-cli/update.sh index 82484933310f..26b370557183 100755 --- a/pkgs/by-name/cu/cursor-cli/update.sh +++ b/pkgs/by-name/cu/cursor-cli/update.sh @@ -22,7 +22,7 @@ if [[ "$latestVersion" == "$currentVersion" ]]; then exit 0 fi -declare -A platforms=( [x86_64-linux]="linux/x64" [aarch64-linux]="linux/arm64" [x86_64-darwin]="darwin/x64" [aarch64-darwin]="darwin/arm64" ) +declare -A platforms=( [x86_64-linux]="linux/x64" [aarch64-linux]="linux/arm64" [aarch64-darwin]="darwin/arm64" ) for platform in "${!platforms[@]}"; do url="https://downloads.cursor.com/lab/$release/${platforms[$platform]}/agent-cli-package.tar.gz" From 2a92b8f5ebb11b37e2b3641891f1c984296e8245 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:13:17 +0000 Subject: [PATCH 34/77] confluent-cli: drop `x86_64-darwin` from update script --- pkgs/by-name/co/confluent-cli/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/co/confluent-cli/update.sh b/pkgs/by-name/co/confluent-cli/update.sh index e237957438f0..402304aa903e 100755 --- a/pkgs/by-name/co/confluent-cli/update.sh +++ b/pkgs/by-name/co/confluent-cli/update.sh @@ -23,7 +23,6 @@ fi for i in \ "x86_64-linux linux_amd64" \ "aarch64-linux linux_arm64" \ - "x86_64-darwin darwin_amd64" \ "aarch64-darwin darwin_arm64"; do set -- $i hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url "https://s3-us-west-2.amazonaws.com/confluent.cloud/confluent-cli/archives/$latestVersion/confluent_${latestVersion}_$2.tar.gz")) From d2e4a045a0d1ce93ce2c431ce811ecd3a2d40a0a Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:13:41 +0000 Subject: [PATCH 35/77] coder: drop `x86_64-darwin` from update script --- pkgs/by-name/co/coder/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/co/coder/update.sh b/pkgs/by-name/co/coder/update.sh index 7f5e29d10b00..65a4dd6fcc84 100755 --- a/pkgs/by-name/co/coder/update.sh +++ b/pkgs/by-name/co/coder/update.sh @@ -13,7 +13,6 @@ LATEST_MAINLINE_VERSION=$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} --fail # Define the platforms declare -A ARCHS=(["x86_64-linux"]="linux_amd64.tar.gz" ["aarch64-linux"]="linux_arm64.tar.gz" - ["x86_64-darwin"]="darwin_amd64.zip" ["aarch64-darwin"]="darwin_arm64.zip") update_version_and_hashes() { From 794000a761d288aa27f95178c2ec34bcc0a6536e Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:14:05 +0000 Subject: [PATCH 36/77] legends-of-equestria: drop `x86_64-darwin` from update script --- pkgs/by-name/le/legends-of-equestria/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/le/legends-of-equestria/update.sh b/pkgs/by-name/le/legends-of-equestria/update.sh index 1035b733a8da..b3ac969539e1 100755 --- a/pkgs/by-name/le/legends-of-equestria/update.sh +++ b/pkgs/by-name/le/legends-of-equestria/update.sh @@ -60,5 +60,4 @@ applyUpdate() { } applyUpdate x86_64-linux Linux -applyUpdate x86_64-darwin macOS applyUpdate aarch64-darwin "macOS arm64" From 6b29ad30d94a2e2e7021e56649b37a6d051ac583 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:14:47 +0000 Subject: [PATCH 37/77] code-cursor: drop `x86_64-darwin` from update script --- pkgs/by-name/co/code-cursor/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/co/code-cursor/update.sh b/pkgs/by-name/co/code-cursor/update.sh index d0d7308c81e1..da907c7aa003 100755 --- a/pkgs/by-name/co/code-cursor/update.sh +++ b/pkgs/by-name/co/code-cursor/update.sh @@ -17,7 +17,6 @@ VSCODE="" for pair in \ x86_64-linux:linux-x64 \ aarch64-linux:linux-arm64 \ - x86_64-darwin:darwin-x64 \ aarch64-darwin:darwin-arm64 do IFS=: read -r sys platform <<< "$pair" From f9e8c0b41f722464d42feb2d437c03e8283633cf Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:15:09 +0000 Subject: [PATCH 38/77] codeium: drop `x86_64-darwin` from update script --- pkgs/by-name/co/codeium/update.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/co/codeium/update.sh b/pkgs/by-name/co/codeium/update.sh index 268886b576a0..1c3bfabb32dd 100755 --- a/pkgs/by-name/co/codeium/update.sh +++ b/pkgs/by-name/co/codeium/update.sh @@ -24,12 +24,10 @@ CODEIUM_VER=$(curl -s "https://api.github.com/repos/Exafunction/codeium/releases CODEIUM_LINUX_X64_HASH=$(fetch_arch "$CODEIUM_VER" "linux_x64") CODEIUM_LINUX_AARCH64_HASH=$(fetch_arch "$CODEIUM_VER" "linux_arm") -CODEIUM_DARWIN_X64_HASH=$(fetch_arch "$CODEIUM_VER" "macos_x64") CODEIUM_DARWIN_AARCH64_HASH=$(fetch_arch "$CODEIUM_VER" "macos_arm") sed -i "s/version = \".*\"/version = \"$CODEIUM_VER\"/" "$NIX_DRV" replace_hash "x86_64-linux" "$CODEIUM_LINUX_X64_HASH" replace_hash "aarch64-linux" "$CODEIUM_LINUX_AARCH64_HASH" -replace_hash "x86_64-darwin" "$CODEIUM_DARWIN_X64_HASH" replace_hash "aarch64-darwin" "$CODEIUM_DARWIN_AARCH64_HASH" From cc249b5e2209e4bd669aa38473f0474d3ae2f0c2 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:15:55 +0000 Subject: [PATCH 39/77] floorp-bin-unwrapped: drop `x86_64-darwin` from update script --- pkgs/by-name/fl/floorp-bin-unwrapped/update.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/by-name/fl/floorp-bin-unwrapped/update.sh b/pkgs/by-name/fl/floorp-bin-unwrapped/update.sh index 3d0b87d688f2..f912437dd84b 100755 --- a/pkgs/by-name/fl/floorp-bin-unwrapped/update.sh +++ b/pkgs/by-name/fl/floorp-bin-unwrapped/update.sh @@ -34,10 +34,9 @@ jq ' elif .url | contains("linux-x86_64") then {key: "x86_64-linux", value: .} elif .url | contains("macOS-universal") then - [{key: "aarch64-darwin", value: .}, {key: "x86_64-darwin", value: .}] + {key: "aarch64-darwin", value: .} else null end ) - | flatten | from_entries ) } From 8e6d436dac0683bec00e5967b06db68af934e4a5 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:16:16 +0000 Subject: [PATCH 40/77] typesense: drop `x86_64-darwin` from update script --- pkgs/by-name/ty/typesense/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ty/typesense/update.sh b/pkgs/by-name/ty/typesense/update.sh index 7d502bc63a74..a9700b9315eb 100755 --- a/pkgs/by-name/ty/typesense/update.sh +++ b/pkgs/by-name/ty/typesense/update.sh @@ -16,7 +16,6 @@ fi declare -A platforms=( [aarch64-linux]="linux-arm64" [aarch64-darwin]="darwin-arm64" - [x86_64-darwin]="darwin-amd64" [x86_64-linux]="linux-amd64" ) From f4a353124df224dfb4c671e1d1a0a42f8c399172 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:16:44 +0000 Subject: [PATCH 41/77] wpsoffice-cn: drop `x86_64-darwin` from update script --- pkgs/by-name/wp/wpsoffice-cn/update.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkgs/by-name/wp/wpsoffice-cn/update.sh b/pkgs/by-name/wp/wpsoffice-cn/update.sh index 25c309f3edf3..01262d71561b 100755 --- a/pkgs/by-name/wp/wpsoffice-cn/update.sh +++ b/pkgs/by-name/wp/wpsoffice-cn/update.sh @@ -17,18 +17,15 @@ linux_version=$(echo "$linux_payload" | grep -oP '(?<=banner_txt">)[^<]+') darwin_version=$(echo "$darwin_payload" | grep -oP '(?<=\s)\d+(?:\.\d+)+(?=/)') linux_amd64_url=$(echo "$linux_payload" | grep -oP "downLoad\('[^']*'" | head -1 | sed "s/downLoad('//;s/'$//") -darwin_amd64_url="https://package.mac.wpscdn.cn/mac_wps_pkg/${darwin_version}/WPS_Office_${darwin_version}(${darwin_version##*.})_x64.dmg" darwin_arm64_url="https://package.mac.wpscdn.cn/mac_wps_pkg/${darwin_version}/WPS_Office_${darwin_version}(${darwin_version##*.})_arm64.dmg" timestamp10=$(date '+%s') linux_amd64_md5hash=($(printf '%s' "$SECURITY_KEY${linux_amd64_url#$prefix}$timestamp10" | md5sum)) linux_amd64_hash=$(nix-prefetch-url --name "wpsoffice-cn-$linux_version.deb" "$linux_amd64_url?t=$timestamp10&k=$linux_amd64_md5hash") -darwin_amd64_hash=$(nix-prefetch-url --name "wpsoffice-cn-$darwin_version.dmg" "$darwin_amd64_url") darwin_arm64_hash=$(nix-prefetch-url --name "wpsoffice-cn-$darwin_version.dmg" "$darwin_arm64_url") linux_amd64_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$linux_amd64_hash") -darwin_amd64_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$darwin_amd64_hash") darwin_arm64_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$darwin_arm64_hash") cat > sources.nix << EOF @@ -41,10 +38,6 @@ cat > sources.nix << EOF url = "$linux_amd64_url"; hash = "$linux_amd64_hash"; }; - x86_64-darwin = { - url = "$darwin_amd64_url"; - hash = "$darwin_amd64_hash"; - }; aarch64-darwin = { url = "$darwin_arm64_url"; hash = "$darwin_arm64_hash"; From babd6e72fd5e7f352020c8f5f5bc3bfb77b57294 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:17:06 +0000 Subject: [PATCH 42/77] rar: drop `x86_64-darwin` from update script --- pkgs/by-name/ra/rar/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ra/rar/update.sh b/pkgs/by-name/ra/rar/update.sh index 2ac315343d48..edd36684131c 100755 --- a/pkgs/by-name/ra/rar/update.sh +++ b/pkgs/by-name/ra/rar/update.sh @@ -72,6 +72,5 @@ fi updateHash "$latestVersion" x64 linux x86_64-linux updateHash "$latestVersion" arm macos aarch64-darwin -updateHash "$latestVersion" x64 macos x86_64-darwin updateVersion "$latestVersion" From 9e7a0923ae65ec99fdeb6f4cb9342132a3ae9254 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:17:49 +0000 Subject: [PATCH 43/77] zoom-us: drop `x86_64-darwin` from update script --- pkgs/by-name/zo/zoom-us/package.nix | 1 - pkgs/by-name/zo/zoom-us/update.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/pkgs/by-name/zo/zoom-us/package.nix b/pkgs/by-name/zo/zoom-us/package.nix index bd573c080e3b..34c8a05cac58 100644 --- a/pkgs/by-name/zo/zoom-us/package.nix +++ b/pkgs/by-name/zo/zoom-us/package.nix @@ -55,7 +55,6 @@ let # We write them on three lines like this (rather than using {}) so that the updater script can # find where to edit them. versions.aarch64-darwin = "7.1.0.83064"; - versions.x86_64-darwin = "7.1.0.83064"; # This is the fallback version so that evaluation can produce a meaningful result. versions.x86_64-linux = "7.1.0.3715"; diff --git a/pkgs/by-name/zo/zoom-us/update.sh b/pkgs/by-name/zo/zoom-us/update.sh index 25e8d58eb9a2..7147ecd8abfc 100755 --- a/pkgs/by-name/zo/zoom-us/update.sh +++ b/pkgs/by-name/zo/zoom-us/update.sh @@ -17,7 +17,6 @@ version_x86_64_linux=$(jq -r .zoom.version <<<"$linux_data") echo >&2 "=== Updating package.nix ..." # update-source-version expects to be at the root of nixpkgs (cd "$nixpkgs" && update-source-version --ignore-same-version --print-changes --version-key=versions.aarch64-darwin pkgsCross.aarch64-darwin.zoom-us "$version_aarch64_darwin") -(cd "$nixpkgs" && update-source-version --ignore-same-version --print-changes --version-key=versions.x86_64-darwin pkgsCross.x86_64-darwin.zoom-us "$version_x86_64_darwin") (cd "$nixpkgs" && update-source-version --ignore-same-version --print-changes --version-key=versions.x86_64-linux pkgsCross.gnu64.zoom-us "$version_x86_64_linux" --source-key=unpacked.src) echo >&2 "=== Done!" From ed10a04ad041e710f447a99b3ff3f2aafc351b52 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:18:36 +0000 Subject: [PATCH 44/77] pulumi-bin: drop `x86_64-darwin` from update script --- pkgs/by-name/pu/pulumi-bin/update.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/by-name/pu/pulumi-bin/update.sh b/pkgs/by-name/pu/pulumi-bin/update.sh index f71812135552..4da7ff0fc381 100755 --- a/pkgs/by-name/pu/pulumi-bin/update.sh +++ b/pkgs/by-name/pu/pulumi-bin/update.sh @@ -141,11 +141,6 @@ EOF genSrcs "linux" "amd64" echo " ];" - echo " x86_64-darwin = [" - genMainSrc "darwin" "x64" - genSrcs "darwin" "amd64" - echo " ];" - echo " aarch64-linux = [" genMainSrc "linux" "arm64" genSrcs "linux" "arm64" From 94b0cc89daea2cee2ffb58335cad2dad9344584f Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:19:03 +0000 Subject: [PATCH 45/77] boundary: drop `x86_64-darwin` from update script --- pkgs/by-name/bo/boundary/update.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/bo/boundary/update.sh b/pkgs/by-name/bo/boundary/update.sh index 660f44964a95..a163881d604c 100644 --- a/pkgs/by-name/bo/boundary/update.sh +++ b/pkgs/by-name/bo/boundary/update.sh @@ -26,13 +26,11 @@ replace_sha() { BOUNDARY_VER=$(curl -Ls -w "%{url_effective}" -o /dev/null https://github.com/hashicorp/boundary/releases/latest | awk -F'/' '{print $NF}' | sed 's/v//') BOUNDARY_LINUX_X64_SHA256=$(calc_hash "$BOUNDARY_VER" "linux_amd64") -BOUNDARY_DARWIN_X64_SHA256=$(calc_hash "$BOUNDARY_VER" "darwin_amd64") BOUNDARY_LINUX_AARCH64_SHA256=$(calc_hash "$BOUNDARY_VER" "linux_arm64") BOUNDARY_DARWIN_AARCH64_SHA256=$(calc_hash "$BOUNDARY_VER" "darwin_arm64") sed -i "s/version = \".*\"/version = \"$BOUNDARY_VER\"/" "$NIX_DRV" replace_sha "x86_64-linux" "$BOUNDARY_LINUX_X64_SHA256" -replace_sha "x86_64-darwin" "$BOUNDARY_DARWIN_X64_SHA256" replace_sha "aarch64-linux" "$BOUNDARY_LINUX_AARCH64_SHA256" replace_sha "aarch64-darwin" "$BOUNDARY_DARWIN_AARCH64_SHA256" From 417d7af8488c6808421175d6a070ed273e6e0c0c Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:19:18 +0000 Subject: [PATCH 46/77] clouddrive2: drop `x86_64-darwin` from update script --- pkgs/by-name/cl/clouddrive2/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/cl/clouddrive2/update.sh b/pkgs/by-name/cl/clouddrive2/update.sh index 200bb47700fe..1e121ba98260 100755 --- a/pkgs/by-name/cl/clouddrive2/update.sh +++ b/pkgs/by-name/cl/clouddrive2/update.sh @@ -15,7 +15,6 @@ fi for i in \ "x86_64-linux linux-x86_64" \ "aarch64-linux linux-aarch64" \ - "x86_64-darwin macos-x86_64" \ "aarch64-darwin macos-aarch64"; do set -- $i prefetch=$(nix-prefetch-url "https://github.com/cloud-fs/cloud-fs.github.io/releases/download/v$latestVersion/clouddrive-2-$2-$latestVersion.tgz") From 6eacc88f2ad70fa0954672e168112c4e2efc46fb Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:19:36 +0000 Subject: [PATCH 47/77] pgsql-tools: drop `x86_64-darwin` from update script --- pkgs/by-name/pg/pgsql-tools/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/pg/pgsql-tools/update.sh b/pkgs/by-name/pg/pgsql-tools/update.sh index ddd35c318e8a..f6932338bd7f 100644 --- a/pkgs/by-name/pg/pgsql-tools/update.sh +++ b/pkgs/by-name/pg/pgsql-tools/update.sh @@ -19,7 +19,6 @@ update-source-version pgsql-tools "$latestVersion" --file=pkgs/by-name/pg/pgsql- declare -A platforms=( ["x86_64-linux"]="pgsqltoolsservice-linux-x64.tar.gz" ["aarch64-linux"]="pgsqltoolsservice-linux-arm64.tar.gz" - ["x86_64-darwin"]="pgsqltoolsservice-osx-x86.tar.gz" ["aarch64-darwin"]="pgsqltoolsservice-osx-arm64.tar.gz" ) From 3336a0bce72db502d77ea9fe7e789851db4c2600 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:23:15 +0000 Subject: [PATCH 48/77] orbstack: drop `x86_64-darwin` from update script --- pkgs/by-name/or/orbstack/package.nix | 24 ++++++------------------ pkgs/by-name/or/orbstack/update.sh | 21 ++++----------------- 2 files changed, 10 insertions(+), 35 deletions(-) diff --git a/pkgs/by-name/or/orbstack/package.nix b/pkgs/by-name/or/orbstack/package.nix index 0f8fa3730fb9..d9ac7e1107af 100644 --- a/pkgs/by-name/or/orbstack/package.nix +++ b/pkgs/by-name/or/orbstack/package.nix @@ -8,28 +8,17 @@ let inherit (stdenvNoCC.hostPlatform) system; version = "2.2.1-20628"; - sourceData = { - aarch64-darwin = { - arch = "arm64"; - hash = "sha256-W8FxnDyYfExgxlvp/dZbRzCZDhaX7Byxwz5rujG/krU="; - }; - }; - sources = lib.mapAttrs ( - system: - { arch, hash }: - fetchurl { - url = "https://cdn-updates.orbstack.dev/${arch}/OrbStack_v${ - lib.replaceString "-" "_" version - }_${arch}.dmg"; - inherit hash; - } - ) sourceData; in stdenvNoCC.mkDerivation (finalAttrs: { pname = "orbstack"; inherit version; - src = finalAttrs.passthru.sources.${system} or (throw "unsupported system ${system}"); + src = fetchurl { + url = "https://cdn-updates.orbstack.dev/arm64/OrbStack_v${ + lib.replaceString "-" "_" version + }_arm64.dmg"; + hash = "sha256-W8FxnDyYfExgxlvp/dZbRzCZDhaX7Byxwz5rujG/krU="; + }; # -snld prevents "ERROR: Dangerous symbolic link path was ignored" # -xr'!*:com.apple.*' prevents macOS extended attributes (e.g. macl or @@ -66,7 +55,6 @@ stdenvNoCC.mkDerivation (finalAttrs: { ''; passthru = { - inherit sources; updateScript = ./update.sh; }; diff --git a/pkgs/by-name/or/orbstack/update.sh b/pkgs/by-name/or/orbstack/update.sh index 39c1c2ffe787..582719072a99 100755 --- a/pkgs/by-name/or/orbstack/update.sh +++ b/pkgs/by-name/or/orbstack/update.sh @@ -4,21 +4,8 @@ set -eu -o pipefail -update_arch() { - local arch="$1" - local system="$2" +source_url="$(curl -L -I "https://orbstack.dev/download/stable/latest/arm64" | grep -i "location:" | awk '{print $2}' | tr -d '\r')" +version="$(echo "$source_url" | grep -o '\([0-9]\+\.\)\{2\}[0-9]\+_[0-9]\+' | sed 's/_/-/')" +hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$(nix-prefetch-url --type sha256 "$source_url")") - local source_url - source_url="$(curl -L -I "https://orbstack.dev/download/stable/latest/$arch" | grep -i "location:" | awk '{print $2}' | tr -d '\r')" - - local version - version="$(echo "$source_url" | grep -o '\([0-9]\+\.\)\{2\}[0-9]\+_[0-9]\+' | sed 's/_/-/')" - - local hash - hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$(nix-prefetch-url --type sha256 "$source_url")") - - update-source-version orbstack "$version" "$hash" --system="$system" --source-key="sources.$system" --ignore-same-version -} - -update_arch "arm64" "aarch64-darwin" -update_arch "amd64" "x86_64-darwin" +update-source-version orbstack "$version" "$hash" --ignore-same-version From 792d6a0fbf5de59d77f2974f1e4f95f311c49814 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:23:33 +0000 Subject: [PATCH 49/77] phoenixd: drop `x86_64-darwin` from update script --- pkgs/by-name/ph/phoenixd/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ph/phoenixd/update.sh b/pkgs/by-name/ph/phoenixd/update.sh index a983312c6a71..4c051abfede3 100755 --- a/pkgs/by-name/ph/phoenixd/update.sh +++ b/pkgs/by-name/ph/phoenixd/update.sh @@ -17,7 +17,6 @@ fi for system in \ aarch64-linux \ - x86_64-darwin \ aarch64-darwin; do hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; phoenixd.src.url" --system "$system" | tr -d '"'))) update-source-version phoenixd $latestVersion $hash --system=$system --ignore-same-version From ff2c2b1b50c542eb4808d80e0b06f9d0e47988fd Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:24:08 +0000 Subject: [PATCH 50/77] hoppscotch: drop `x86_64-darwin` from update script --- pkgs/by-name/ho/hoppscotch/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ho/hoppscotch/update.sh b/pkgs/by-name/ho/hoppscotch/update.sh index dd18d1942cad..ce3a73ceb62c 100755 --- a/pkgs/by-name/ho/hoppscotch/update.sh +++ b/pkgs/by-name/ho/hoppscotch/update.sh @@ -17,7 +17,6 @@ update-source-version hoppscotch $latestVersion || true for system in \ x86_64-linux \ - x86_64-darwin \ aarch64-darwin; do hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import $BASEDIR {}; hoppscotch.src.url" --system "$system" | tr -d '"'))) (cd $BASEDIR && update-source-version hoppscotch $latestVersion $hash --system=$system --ignore-same-version) From 4a59a9d8dca3e8ff7c4f33038fe891296080fe55 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:24:31 +0000 Subject: [PATCH 51/77] ibmcloud-cli: drop `x86_64-darwin` from update script --- pkgs/by-name/ib/ibmcloud-cli/package.nix | 8 +------- pkgs/by-name/ib/ibmcloud-cli/update.sh | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/pkgs/by-name/ib/ibmcloud-cli/package.nix b/pkgs/by-name/ib/ibmcloud-cli/package.nix index d4048cfd7ef4..ae09b5cb8e96 100644 --- a/pkgs/by-name/ib/ibmcloud-cli/package.nix +++ b/pkgs/by-name/ib/ibmcloud-cli/package.nix @@ -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"; diff --git a/pkgs/by-name/ib/ibmcloud-cli/update.sh b/pkgs/by-name/ib/ibmcloud-cli/update.sh index 26f1525a3202..2d340e8d12ee 100755 --- a/pkgs/by-name/ib/ibmcloud-cli/update.sh +++ b/pkgs/by-name/ib/ibmcloud-cli/update.sh @@ -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 '"') From 32379a9bc7fb0c15d7ce5207912a6ef68ff947e0 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:26:34 +0000 Subject: [PATCH 52/77] osu-lazer-bin: drop `x86_64-darwin` from update script --- pkgs/by-name/os/osu-lazer-bin/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/os/osu-lazer-bin/update.sh b/pkgs/by-name/os/osu-lazer-bin/update.sh index 19508b7825e9..7a1edd076fc5 100755 --- a/pkgs/by-name/os/osu-lazer-bin/update.sh +++ b/pkgs/by-name/os/osu-lazer-bin/update.sh @@ -15,7 +15,6 @@ echo "Updating osu-lazer-bin from $old_version to $new_version..." for pair in \ 'aarch64-darwin osu.app.Apple.Silicon.zip' \ - 'x86_64-darwin osu.app.Intel.zip' \ 'x86_64-linux osu.AppImage' do set -- $pair From 26c7a71492cf2470245a50e631a6be6cdf1b61dd Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:26:58 +0000 Subject: [PATCH 53/77] kiro: drop `x86_64-darwin` from update script --- pkgs/by-name/ki/kiro/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ki/kiro/update.sh b/pkgs/by-name/ki/kiro/update.sh index 211dd624d020..07652514b9c2 100755 --- a/pkgs/by-name/ki/kiro/update.sh +++ b/pkgs/by-name/ki/kiro/update.sh @@ -12,7 +12,6 @@ SOURCES_JSON="${SCRIPT_DIR}/sources.json" # Platform configuration declare -A PLATFORM_URLS=( ["x86_64-linux"]="https://prod.download.desktop.kiro.dev/stable/metadata-linux-x64-stable.json" - ["x86_64-darwin"]="https://prod.download.desktop.kiro.dev/stable/metadata-dmg-darwin-x64-stable.json" ["aarch64-darwin"]="https://prod.download.desktop.kiro.dev/stable/metadata-dmg-darwin-arm64-stable.json" ) From 1f53ab6c98e2144f330a18130666e8f474af516f Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:27:30 +0000 Subject: [PATCH 54/77] dbeaver-bin: drop `x86_64-darwin` from update script --- pkgs/by-name/db/dbeaver-bin/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/db/dbeaver-bin/update.sh b/pkgs/by-name/db/dbeaver-bin/update.sh index 8ab7bd75fcef..8a1e992dcef1 100755 --- a/pkgs/by-name/db/dbeaver-bin/update.sh +++ b/pkgs/by-name/db/dbeaver-bin/update.sh @@ -18,7 +18,6 @@ fi for i in \ "x86_64-linux linux-x86_64.tar.gz" \ "aarch64-linux linux-aarch64.tar.gz" \ - "x86_64-darwin macos-x86_64.dmg" \ "aarch64-darwin macos-aarch64.dmg" do # shellcheck disable=SC2086 # $i is intentionally splitted to $1 and $2 From ee71f615d8646fba8821c9b2ede1ce30cd3074f5 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:27:53 +0000 Subject: [PATCH 55/77] brioche: drop `x86_64-darwin` from update script --- pkgs/by-name/br/brioche/update-librusty.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/br/brioche/update-librusty.sh b/pkgs/by-name/br/brioche/update-librusty.sh index 0ba452c803f5..575755a3c110 100755 --- a/pkgs/by-name/br/brioche/update-librusty.sh +++ b/pkgs/by-name/br/brioche/update-librusty.sh @@ -36,7 +36,6 @@ fetchLibrustyV8 { # NOTE; Follows supported platforms of package (see meta.platforms attribute)! x86_64-linux = "$(nix-prefetch-url --type sha256 https://github.com/denoland/rusty_v8/releases/download/v"$NEW_VERSION"/librusty_v8_release_x86_64-unknown-linux-gnu.a.gz)"; aarch64-linux = "$(nix-prefetch-url --type sha256 https://github.com/denoland/rusty_v8/releases/download/v"$NEW_VERSION"/librusty_v8_release_aarch64-unknown-linux-gnu.a.gz)"; - x86_64-darwin = "$(nix-prefetch-url --type sha256 https://github.com/denoland/rusty_v8/releases/download/v"$NEW_VERSION"/librusty_v8_release_x86_64-apple-darwin.a.gz)"; aarch64-darwin = "$(nix-prefetch-url --type sha256 https://github.com/denoland/rusty_v8/releases/download/v"$NEW_VERSION"/librusty_v8_release_aarch64-apple-darwin.a.gz)"; }; } From 0ac2c5c14d37e0b173a384cbb1b929ce9338f7d7 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:28:35 +0000 Subject: [PATCH 56/77] dbgate: drop `x86_64-darwin` from update script --- pkgs/by-name/db/dbgate/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/db/dbgate/update.sh b/pkgs/by-name/db/dbgate/update.sh index 1e893aaa7706..d37000bac6a1 100755 --- a/pkgs/by-name/db/dbgate/update.sh +++ b/pkgs/by-name/db/dbgate/update.sh @@ -15,7 +15,6 @@ fi for system in \ x86_64-linux \ aarch64-linux \ - x86_64-darwin \ aarch64-darwin; do hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; dbgate.src.url" --system "$system" | tr -d '"'))) update-source-version dbgate $latestVersion $hash --system=$system --ignore-same-version From e02ab51e5936b25a6a4139b05ecc3ad4071fb799 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:31:14 +0000 Subject: [PATCH 57/77] brave: drop `x86_64-darwin` from update script --- pkgs/by-name/br/brave/update.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/by-name/br/brave/update.sh b/pkgs/by-name/br/brave/update.sh index f806154aa9dc..ccb7c9b826b0 100755 --- a/pkgs/by-name/br/brave/update.sh +++ b/pkgs/by-name/br/brave/update.sh @@ -8,7 +8,6 @@ latestVersion="$(curl --fail -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} "https://ap hashAarch64="$(nix-hash --to-sri --type sha256 "$(nix-prefetch-url --type sha256 "https://github.com/brave/brave-browser/releases/download/v${latestVersion}/brave-browser_${latestVersion}_arm64.deb")")" hashAmd64="$(nix-hash --to-sri --type sha256 "$(nix-prefetch-url --type sha256 "https://github.com/brave/brave-browser/releases/download/v${latestVersion}/brave-browser_${latestVersion}_amd64.deb")")" hashAarch64Darwin="$(nix-hash --to-sri --type sha256 "$(nix-prefetch-url --type sha256 "https://github.com/brave/brave-browser/releases/download/v${latestVersion}/brave-v${latestVersion}-darwin-arm64.zip")")" -hashAmd64Darwin="$(nix-hash --to-sri --type sha256 "$(nix-prefetch-url --type sha256 "https://github.com/brave/brave-browser/releases/download/v${latestVersion}/brave-v${latestVersion}-darwin-x64.zip")")" cat > $SCRIPT_DIR/package.nix << EOF # Expression generated by update.sh; do not edit it by hand! @@ -31,10 +30,6 @@ let url = "https://github.com/brave/brave-browser/releases/download/v\${version}/brave-v\${version}-darwin-arm64.zip"; hash = "${hashAarch64Darwin}"; }; - x86_64-darwin = { - url = "https://github.com/brave/brave-browser/releases/download/v\${version}/brave-v\${version}-darwin-x64.zip"; - hash = "${hashAmd64Darwin}"; - }; }; archive = From 477f76c9bb5b970ba1332161d33cd5d3cca3e9c9 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:41:54 +0000 Subject: [PATCH 58/77] yandex-cloud: drop `x86_64-darwin` from update script --- pkgs/by-name/ya/yandex-cloud/update.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ya/yandex-cloud/update.py b/pkgs/by-name/ya/yandex-cloud/update.py index d6309118bf92..53d4555f061a 100644 --- a/pkgs/by-name/ya/yandex-cloud/update.py +++ b/pkgs/by-name/ya/yandex-cloud/update.py @@ -14,7 +14,6 @@ systems = [ ("aarch64", "darwin"), ("aarch64", "linux"), ("i686", "linux"), - ("x86_64", "darwin"), ("x86_64", "linux"), ] From 8669954c0891dbff2d21ca588baec335d9840826 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:54:38 +0000 Subject: [PATCH 59/77] playwright: drop `x86_64-darwin` from update script --- pkgs/development/web/playwright/browser-downloads-test.js | 1 - pkgs/development/web/playwright/chromium-headless-shell.nix | 6 +----- pkgs/development/web/playwright/chromium.nix | 6 +----- pkgs/development/web/playwright/firefox.nix | 6 +----- pkgs/development/web/playwright/update.sh | 2 +- pkgs/development/web/playwright/webkit.nix | 6 +----- 6 files changed, 5 insertions(+), 22 deletions(-) diff --git a/pkgs/development/web/playwright/browser-downloads-test.js b/pkgs/development/web/playwright/browser-downloads-test.js index 5f4ec96259c0..9db75a07d66b 100644 --- a/pkgs/development/web/playwright/browser-downloads-test.js +++ b/pkgs/development/web/playwright/browser-downloads-test.js @@ -15,7 +15,6 @@ const browserNames = Object.keys(browserDownloads); const hostPlatformBySystem = { "x86_64-linux": "ubuntu24.04-x64", "aarch64-linux": "ubuntu24.04-arm64", - "x86_64-darwin": "mac15", "aarch64-darwin": "mac15-arm64", }; diff --git a/pkgs/development/web/playwright/chromium-headless-shell.nix b/pkgs/development/web/playwright/chromium-headless-shell.nix index 645d15fd5559..e83de5fa56de 100644 --- a/pkgs/development/web/playwright/chromium-headless-shell.nix +++ b/pkgs/development/web/playwright/chromium-headless-shell.nix @@ -70,11 +70,7 @@ let darwin = fetchzip { inherit (download) url stripRoot; - hash = - { - aarch64-darwin = "sha256-qWrMOreqTOFhmFBROlXIPXrM3wqNT7iJJwpelVFke6I="; - } - .${system} or throwSystem; + hash = "sha256-qWrMOreqTOFhmFBROlXIPXrM3wqNT7iJJwpelVFke6I="; }; in { diff --git a/pkgs/development/web/playwright/chromium.nix b/pkgs/development/web/playwright/chromium.nix index 4d92563b30a1..1eb744ffd82d 100644 --- a/pkgs/development/web/playwright/chromium.nix +++ b/pkgs/development/web/playwright/chromium.nix @@ -128,11 +128,7 @@ let }; chromium-darwin = fetchzip { inherit (download) url stripRoot; - hash = - { - aarch64-darwin = "sha256-aJbvZQ1hY0FfDC+ZktfW2yNW3nwc0kh/P30+n/cmLf0="; - } - .${system} or throwSystem; + hash = "sha256-aJbvZQ1hY0FfDC+ZktfW2yNW3nwc0kh/P30+n/cmLf0="; }; in { diff --git a/pkgs/development/web/playwright/firefox.nix b/pkgs/development/web/playwright/firefox.nix index e757f9af593d..91c70ebcf75b 100644 --- a/pkgs/development/web/playwright/firefox.nix +++ b/pkgs/development/web/playwright/firefox.nix @@ -40,11 +40,7 @@ let }; firefox-darwin = fetchzip { inherit (download) url stripRoot; - hash = - { - aarch64-darwin = "sha256-Opwa5SbuAaXf2A+qrldHc6BkhRaOzzl0dy7R4vodG5w="; - } - .${system} or throwSystem; + hash = "sha256-Opwa5SbuAaXf2A+qrldHc6BkhRaOzzl0dy7R4vodG5w="; }; in { diff --git a/pkgs/development/web/playwright/update.sh b/pkgs/development/web/playwright/update.sh index 21d8b85cbc85..8043188eb16e 100755 --- a/pkgs/development/web/playwright/update.sh +++ b/pkgs/development/web/playwright/update.sh @@ -17,7 +17,7 @@ playwright_driver_file="$root/driver.nix" playwright_raw_repo_url="https://raw.githubusercontent.com/microsoft/playwright" playwright_mcp_package_file="$root/../../../by-name/pl/playwright-mcp/package.nix" browser_names=(chromium chromium-headless-shell firefox webkit ffmpeg) -browser_systems=(x86_64-linux aarch64-linux x86_64-darwin aarch64-darwin) +browser_systems=(x86_64-linux aarch64-linux aarch64-darwin) github_api_get() { curl "${github_api_curl_args[@]}" -fsSL "$1" diff --git a/pkgs/development/web/playwright/webkit.nix b/pkgs/development/web/playwright/webkit.nix index da2028c325b1..e3e191410ab1 100644 --- a/pkgs/development/web/playwright/webkit.nix +++ b/pkgs/development/web/playwright/webkit.nix @@ -202,11 +202,7 @@ let }; webkit-darwin = fetchzip { inherit (download) url stripRoot; - hash = - { - aarch64-darwin = "sha256-glVkYnthOFBPp1gZXTue9WwjP+oCgQpq6j9Mlm/bjmg="; - } - .${system} or throwSystem; + hash = "sha256-glVkYnthOFBPp1gZXTue9WwjP+oCgQpq6j9Mlm/bjmg="; }; in { From ec11a3817c69b96f9f7bcfda8545c7117f54e5a2 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 07:56:41 +0000 Subject: [PATCH 60/77] chromedriver: drop `x86_64-darwin` from update script --- .../networking/browsers/chromium/info.json | 1 - .../networking/browsers/chromium/update.mjs | 1 - .../tools/selenium/chromedriver/binary.nix | 17 ++--------------- 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/pkgs/applications/networking/browsers/chromium/info.json b/pkgs/applications/networking/browsers/chromium/info.json index c4ef999b274b..32dc2768b0c8 100644 --- a/pkgs/applications/networking/browsers/chromium/info.json +++ b/pkgs/applications/networking/browsers/chromium/info.json @@ -3,7 +3,6 @@ "version": "150.0.7871.124", "chromedriver": { "version": "150.0.7871.125", - "hash_darwin": "sha256-HJTBS6eRmAsxrn7WW4hCxMCXdzn+1PYz1W0uZHJ38yk=", "hash_darwin_aarch64": "sha256-VCgkc6MeMPbt0F2ZVTJNn9yJbSYNhy1zr8KzPVaVi0I=" }, "deps": { diff --git a/pkgs/applications/networking/browsers/chromium/update.mjs b/pkgs/applications/networking/browsers/chromium/update.mjs index 9aab0753db78..c3652f161d5e 100755 --- a/pkgs/applications/networking/browsers/chromium/update.mjs +++ b/pkgs/applications/networking/browsers/chromium/update.mjs @@ -170,7 +170,6 @@ async function fetch_chromedriver_binaries(version) { const url = (platform) => `https://storage.googleapis.com/chrome-for-testing-public/${version}/${platform}/chromedriver-${platform}.zip` return { version, - hash_darwin: await prefetch(url('mac-x64')), hash_darwin_aarch64: await prefetch(url('mac-arm64')), } } diff --git a/pkgs/development/tools/selenium/chromedriver/binary.nix b/pkgs/development/tools/selenium/chromedriver/binary.nix index 84ab490d6dc9..745a2f864fd5 100644 --- a/pkgs/development/tools/selenium/chromedriver/binary.nix +++ b/pkgs/development/tools/selenium/chromedriver/binary.nix @@ -12,19 +12,6 @@ let (lib.importJSON ../../../../applications/networking/browsers/chromium/info.json) .chromium.chromedriver; - # See ./source.nix for Linux - allSpecs = { - - aarch64-darwin = { - system = "mac-arm64"; - hash = upstream-info.hash_darwin_aarch64; - }; - }; - - spec = - allSpecs.${stdenv.hostPlatform.system} - or (throw "missing chromedriver binary for ${stdenv.hostPlatform.system}"); - inherit (upstream-info) version; in stdenv.mkDerivation { @@ -32,8 +19,8 @@ stdenv.mkDerivation { inherit version; src = fetchzip { - url = "https://storage.googleapis.com/chrome-for-testing-public/${version}/${spec.system}/chromedriver-${spec.system}.zip"; - inherit (spec) hash; + url = "https://storage.googleapis.com/chrome-for-testing-public/${version}/mac-arm64/chromedriver-mac-arm64.zip"; + hash = upstream-info.hash_darwin_aarch64; }; nativeBuildInputs = [ unzip ]; From d8a8f66ef75f452e588f986f860b959aef58920c Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 08:11:46 +0000 Subject: [PATCH 61/77] libreoffice-bin: drop `x86_64-darwin` from update script --- .../office/libreoffice/darwin/default.nix | 20 +++++-------------- .../office/libreoffice/darwin/update.nix | 6 ++---- 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/pkgs/applications/office/libreoffice/darwin/default.nix b/pkgs/applications/office/libreoffice/darwin/default.nix index a2fdd448cdec..eb613364c8f3 100644 --- a/pkgs/applications/office/libreoffice/darwin/default.nix +++ b/pkgs/applications/office/libreoffice/darwin/default.nix @@ -12,22 +12,15 @@ let version = "26.2.4"; dist = { - aarch64-darwin = rec { - arch = "aarch64"; - archSuffix = arch; - url = "https://download.documentfoundation.org/libreoffice/stable/${version}/mac/${arch}/LibreOffice_${version}_MacOS_${archSuffix}.dmg"; - sha256 = "64e0ad05564554eeee639d49b08b20908a38d4722ec95f1620d05c99bcbe9fb1"; - }; + url = "https://download.documentfoundation.org/libreoffice/stable/${version}/mac/aarch64/LibreOffice_${version}_MacOS_aarch64.dmg"; + sha256 = "64e0ad05564554eeee639d49b08b20908a38d4722ec95f1620d05c99bcbe9fb1"; }; in stdenvNoCC.mkDerivation { inherit version; pname = "libreoffice"; src = fetchurl { - inherit - (dist.${stdenvNoCC.hostPlatform.system} - or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}") - ) + inherit (dist) url sha256 ; @@ -52,16 +45,13 @@ stdenvNoCC.mkDerivation { let defaultNixFile = toString ./default.nix; updateNix = toString ./update.nix; - aarch64Url = dist."aarch64-darwin".url; - x86_64Url = dist."x86_64-darwin".url; in writeScript "update-libreoffice.sh" '' #!/usr/bin/env nix-shell - #!nix-shell -i bash --argstr aarch64Url ${aarch64Url} --argstr x86_64Url ${x86_64Url} --argstr version ${version} ${updateNix} + #!nix-shell -i bash --argstr url ${dist.url} --argstr version ${version} ${updateNix} set -eou pipefail - update-source-version libreoffice-bin $newVersion $newAarch64Sha256 --file=${defaultNixFile} --system=aarch64-darwin --ignore-same-version - update-source-version libreoffice-bin $newVersion $newX86_64Sha256 --file=${defaultNixFile} --system=x86_64-darwin --ignore-same-version + update-source-version libreoffice-bin $newVersion $newSha256 --file=${defaultNixFile} --ignore-same-version ''; meta = { diff --git a/pkgs/applications/office/libreoffice/darwin/update.nix b/pkgs/applications/office/libreoffice/darwin/update.nix index f3c5c758b428..17f4c69cf85e 100644 --- a/pkgs/applications/office/libreoffice/darwin/update.nix +++ b/pkgs/applications/office/libreoffice/darwin/update.nix @@ -1,7 +1,6 @@ # Impure functions, for passthru.updateScript runtime only { - aarch64Url, - x86_64Url, + url, version, pkgs ? import ../../../../../default.nix { }, }: @@ -14,6 +13,5 @@ in pkgs.mkShell rec { buildInputs = [ pkgs.common-updater-scripts ]; newVersion = getLatestStableVersion; - newAarch64Sha256 = getSha256 aarch64Url version newVersion; - newX86_64Sha256 = getSha256 x86_64Url version newVersion; + newSha256 = getSha256 url version newVersion; } From 597163a8e0c354cef0a6081efd6227e93f1259d0 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 08:22:27 +0000 Subject: [PATCH 62/77] kiro-cli: drop `x86_64-darwin` from update script --- pkgs/by-name/ki/kiro-cli/package.nix | 11 ++++------- pkgs/by-name/ki/kiro-cli/update.sh | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/ki/kiro-cli/package.nix b/pkgs/by-name/ki/kiro-cli/package.nix index bdb2b27bd3c6..295cfe09be35 100644 --- a/pkgs/by-name/ki/kiro-cli/package.nix +++ b/pkgs/by-name/ki/kiro-cli/package.nix @@ -17,12 +17,6 @@ stdenv.mkDerivation (finalAttrs: { version = "2.10.0"; src = - let - darwinDmg = fetchurl { - url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/Kiro%20CLI.dmg"; - hash = "sha256-NDeyXQO9NBsK3xqAEcO1gGn9ta+ZVQ1GNwZ4hbGUe3Q="; - }; - in { x86_64-linux = fetchurl { url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/kirocli-x86_64-linux.tar.gz"; @@ -32,7 +26,10 @@ stdenv.mkDerivation (finalAttrs: { url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/kirocli-aarch64-linux.tar.gz"; hash = "sha256-39hKSRi1l5ruSqObViksJkufiCOvLTaIkQzT3sNQFQQ="; }; - aarch64-darwin = darwinDmg; + aarch64-darwin = fetchurl { + url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/Kiro%20CLI.dmg"; + hash = "sha256-NDeyXQO9NBsK3xqAEcO1gGn9ta+ZVQ1GNwZ4hbGUe3Q="; + }; } .${system} or (throw "Unsupported system: ${system}"); diff --git a/pkgs/by-name/ki/kiro-cli/update.sh b/pkgs/by-name/ki/kiro-cli/update.sh index baff24e34e71..bedf83491dfc 100755 --- a/pkgs/by-name/ki/kiro-cli/update.sh +++ b/pkgs/by-name/ki/kiro-cli/update.sh @@ -63,7 +63,7 @@ echo "darwin hash: $darwin_hash" # Get current hashes from package.nix current_x86_hash=$(grep -A2 'x86_64-linux = fetchurl' "$PACKAGE_NIX" | grep -Po 'hash = "\K[^"]+') current_aarch64_hash=$(grep -A2 'aarch64-linux = fetchurl' "$PACKAGE_NIX" | grep -Po 'hash = "\K[^"]+') -current_darwin_hash=$(grep -A2 'darwinDmg = fetchurl' "$PACKAGE_NIX" | grep -Po 'hash = "\K[^"]+') +current_darwin_hash=$(grep -A2 'aarch64-darwin = fetchurl' "$PACKAGE_NIX" | grep -Po 'hash = "\K[^"]+') # Update version and hashes sed -i "s|version = \"$current_version\"|version = \"$latest_version\"|" "$PACKAGE_NIX" From 064627d7e7c8a7619b16ba854274397e1199d770 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 12 Jul 2026 20:33:33 +0100 Subject: [PATCH 63/77] python3Packages.frida-python: drop `x86_64-darwin` from update script --- pkgs/development/python-modules/frida-python/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/frida-python/update.sh b/pkgs/development/python-modules/frida-python/update.sh index 2dde81527470..88132590f18c 100755 --- a/pkgs/development/python-modules/frida-python/update.sh +++ b/pkgs/development/python-modules/frida-python/update.sh @@ -11,7 +11,6 @@ sed -i "s/version = \".*\"/version = \"$latest\"/" "$dir/default.nix" for system_platform in \ "x86_64-linux|manylinux1_x86_64" \ "aarch64-linux|manylinux2014_aarch64" \ - "x86_64-darwin|macosx_10_13_x86_64" \ "aarch64-darwin|macosx_11_0_arm64" do system="${system_platform%%|*}" From cb9dc78a306875287ecf3b13ee9bcd8e495d1e2c Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 12 Jul 2026 20:34:54 +0100 Subject: [PATCH 64/77] antigravity-cli: drop `x86_64-darwin` from update script --- pkgs/by-name/an/antigravity-cli/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/an/antigravity-cli/update.sh b/pkgs/by-name/an/antigravity-cli/update.sh index 835800502981..61ca43ac4483 100755 --- a/pkgs/by-name/an/antigravity-cli/update.sh +++ b/pkgs/by-name/an/antigravity-cli/update.sh @@ -25,7 +25,6 @@ update-source-version --version-key=version antigravity-cli $latestVersion || tr for system in \ x86_64-linux \ aarch64-linux \ - x86_64-darwin \ aarch64-darwin; do hash=$(nix store prefetch-file --json --hash-type sha256 \ $(nix-instantiate --eval --raw -E "with import ./. {}; antigravity-cli.src.url" --system "$system") | jq -r '.hash') From 6fa658d6731875606531c29a01654944ba631c9f Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 12 Jul 2026 20:35:22 +0100 Subject: [PATCH 65/77] box-cli: drop `x86_64-darwin` from update script --- pkgs/by-name/bo/box-cli/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/bo/box-cli/update.sh b/pkgs/by-name/bo/box-cli/update.sh index 3656eb168b46..093689c68b3f 100755 --- a/pkgs/by-name/bo/box-cli/update.sh +++ b/pkgs/by-name/bo/box-cli/update.sh @@ -32,7 +32,6 @@ echo "Updating box-cli from $old_version to $version" declare -A platforms=( [x86_64-linux]="box-linux-x64" [aarch64-linux]="box-linux-arm64" - [x86_64-darwin]="box-darwin-x64" [aarch64-darwin]="box-darwin-arm64" ) From 844528779d894ff5c872ace0ce6fe263e8caa31c Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 12 Jul 2026 20:35:50 +0100 Subject: [PATCH 66/77] saw-tools: drop `x86_64-darwin` from update script --- pkgs/by-name/sa/saw-tools/update.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkgs/by-name/sa/saw-tools/update.sh b/pkgs/by-name/sa/saw-tools/update.sh index 0baf5021543f..2d64cbbac007 100755 --- a/pkgs/by-name/sa/saw-tools/update.sh +++ b/pkgs/by-name/sa/saw-tools/update.sh @@ -8,15 +8,12 @@ cd "$(readlink -e "$(dirname "${BASH_SOURCE[0]}")")" version="1.5" aarch64_darwin_url="https://github.com/GaloisInc/saw-script/releases/download/v${version}/saw-${version}-macos-15-ARM64-with-solvers.tar.gz" -x86_64_darwin_url="https://github.com/GaloisInc/saw-script/releases/download/v${version}/saw-${version}-macos-15-intel-X64-with-solvers.tar.gz" x86_64_linux_url="https://github.com/GaloisInc/saw-script/releases/download/v${version}/saw-${version}-ubuntu-22.04-X64-with-solvers.tar.gz" aarch64_darwin_hash=$(nix-prefetch-url "$aarch64_darwin_url") -x86_64_darwin_hash=$(nix-prefetch-url "$x86_64_darwin_url") x86_64_linux_hash=$(nix-prefetch-url "$x86_64_linux_url") aarch64_darwin_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$aarch64_darwin_hash") -x86_64_darwin_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$x86_64_darwin_hash") x86_64_linux_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$x86_64_linux_hash") sed -i "s/version = \".*\"/version = \"${version}\"/" package.nix @@ -29,10 +26,6 @@ cat >sources.nix < Date: Sun, 12 Jul 2026 20:36:14 +0100 Subject: [PATCH 67/77] grok-build: drop `x86_64-darwin` from update script --- pkgs/by-name/gr/grok-build/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/gr/grok-build/update.sh b/pkgs/by-name/gr/grok-build/update.sh index 371f2853e8ad..5d7553dc2603 100755 --- a/pkgs/by-name/gr/grok-build/update.sh +++ b/pkgs/by-name/gr/grok-build/update.sh @@ -16,7 +16,7 @@ fi update-source-version grok-build "${version}" || true -for system in "aarch64-darwin macos-aarch64" "aarch64-linux linux-aarch64" "x86_64-darwin macos-x86_64" "x86_64-linux linux-x86_64"; do +for system in "aarch64-darwin macos-aarch64" "aarch64-linux linux-aarch64" "x86_64-linux linux-x86_64"; do # shellcheck disable=SC2086 set -- ${system} From 3f7578576545ce8512012c1ee9c3784f7fa03f46 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 12 Jul 2026 20:38:24 +0100 Subject: [PATCH 68/77] snipaste: drop `x86_64-darwin` from update script --- pkgs/by-name/sn/snipaste/sources.nix | 7 ++----- pkgs/by-name/sn/snipaste/update.sh | 8 ++------ 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/sn/snipaste/sources.nix b/pkgs/by-name/sn/snipaste/sources.nix index b3ed093ee007..3db155ef822e 100644 --- a/pkgs/by-name/sn/snipaste/sources.nix +++ b/pkgs/by-name/sn/snipaste/sources.nix @@ -1,17 +1,14 @@ # Generated by ./update.sh - do not update manually! # Last updated: 2026-06-20 { fetchurl }: -let - any-darwin = { +{ + aarch64-darwin = { version = "2.11.3"; src = fetchurl { url = "https://download.snipaste.com/archives/Snipaste-2.11.3.dmg"; hash = "sha256-oih4OIieexc0pl2VK65e9/R5vcFj0MMb6RhZvKEg/T4="; }; }; -in -{ - aarch64-darwin = any-darwin; x86_64-linux = { version = "2.11.3"; src = fetchurl { diff --git a/pkgs/by-name/sn/snipaste/update.sh b/pkgs/by-name/sn/snipaste/update.sh index 114574e3732d..7bc6dbadf47f 100755 --- a/pkgs/by-name/sn/snipaste/update.sh +++ b/pkgs/by-name/sn/snipaste/update.sh @@ -29,18 +29,14 @@ cat >sources.nix < Date: Sun, 12 Jul 2026 20:38:56 +0100 Subject: [PATCH 69/77] lens: drop `x86_64-darwin` from update script --- pkgs/by-name/le/lens/update.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/by-name/le/lens/update.sh b/pkgs/by-name/le/lens/update.sh index 12174d9799fc..ec0f3bd9d32f 100755 --- a/pkgs/by-name/le/lens/update.sh +++ b/pkgs/by-name/le/lens/update.sh @@ -28,10 +28,9 @@ appimage_hash=$(manifest_hash '.x86_64.AppImage' "$linux_manifest") dmg_hash=$(manifest_hash '-latest.dmg' "$mac_manifest") arm64_dmg_hash=$(manifest_hash '-arm64.dmg' "$mac_manifest") -# The three platforms share one version but have distinct hashes. --system picks +# The two platforms share one version but have distinct hashes. --system picks # which source (and therefore which hash) update-source-version rewrites; passing # the hash explicitly avoids a download. The version is written on the first call, # so the darwin calls need --ignore-same-version to not early-exit as "unchanged". update-source-version lens "$version" "$appimage_hash" --system=x86_64-linux -update-source-version lens "$version" "$dmg_hash" --system=x86_64-darwin --ignore-same-version update-source-version lens "$version" "$arm64_dmg_hash" --system=aarch64-darwin --ignore-same-version From f2e1368bb125eddad2b41af832930208e227ab05 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 12 Jul 2026 20:39:12 +0100 Subject: [PATCH 70/77] amp-cli: drop `x86_64-darwin` from update script --- pkgs/by-name/am/amp-cli/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/am/amp-cli/update.sh b/pkgs/by-name/am/amp-cli/update.sh index 86b348d857a2..d795637ef432 100755 --- a/pkgs/by-name/am/amp-cli/update.sh +++ b/pkgs/by-name/am/amp-cli/update.sh @@ -10,7 +10,6 @@ cd "$(dirname "${BASH_SOURCE[0]}")/../../../.." for system in \ x86_64-linux \ aarch64-linux \ - x86_64-darwin \ aarch64-darwin do update-source-version amp-cli "$version" \ From ecd27fca3e4c8945044ffa34a069b87f64e73405 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 12 Jul 2026 20:39:35 +0100 Subject: [PATCH 71/77] sunshine: drop `x86_64-darwin` from update script --- pkgs/by-name/su/sunshine/updater.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/su/sunshine/updater.sh b/pkgs/by-name/su/sunshine/updater.sh index 99e063be5310..96c293699844 100755 --- a/pkgs/by-name/su/sunshine/updater.sh +++ b/pkgs/by-name/su/sunshine/updater.sh @@ -96,7 +96,6 @@ ffmpeg_url() { declare -A ffmpeg_arch=( [x86_64-linux]=Linux-x86_64 [aarch64-linux]=Linux-aarch64 - [x86_64-darwin]=Darwin-x86_64 [aarch64-darwin]=Darwin-arm64 ) From 342b6b29272878d1841587f18b32ee1776a4b816 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 12 Jul 2026 20:40:24 +0100 Subject: [PATCH 72/77] codex-acp: drop `x86_64-darwin` from update script --- pkgs/by-name/co/codex-acp/update.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/by-name/co/codex-acp/update.sh b/pkgs/by-name/co/codex-acp/update.sh index 2a8328e7bcf5..aa434ded6b25 100755 --- a/pkgs/by-name/co/codex-acp/update.sh +++ b/pkgs/by-name/co/codex-acp/update.sh @@ -141,7 +141,6 @@ fetchurl { { x86_64-linux = "${V8_HASH_X86_64_LINUX}"; aarch64-linux = "${V8_HASH_AARCH64_LINUX}"; - x86_64-darwin = "${V8_HASH_X86_64_DARWIN}"; aarch64-darwin = "${V8_HASH_AARCH64_DARWIN}"; } .\${stdenv.hostPlatform.system} @@ -198,9 +197,8 @@ export CODEX_HASH V8_HASH_X86_64_LINUX="$(prefetch_sri "https://github.com/denoland/rusty_v8/releases/download/v${V8_VERSION}/librusty_v8_release_x86_64-unknown-linux-gnu.a.gz")" V8_HASH_AARCH64_LINUX="$(prefetch_sri "https://github.com/denoland/rusty_v8/releases/download/v${V8_VERSION}/librusty_v8_release_aarch64-unknown-linux-gnu.a.gz")" -V8_HASH_X86_64_DARWIN="$(prefetch_sri "https://github.com/denoland/rusty_v8/releases/download/v${V8_VERSION}/librusty_v8_release_x86_64-apple-darwin.a.gz")" V8_HASH_AARCH64_DARWIN="$(prefetch_sri "https://github.com/denoland/rusty_v8/releases/download/v${V8_VERSION}/librusty_v8_release_aarch64-apple-darwin.a.gz")" -export V8_VERSION V8_HASH_X86_64_LINUX V8_HASH_AARCH64_LINUX V8_HASH_X86_64_DARWIN V8_HASH_AARCH64_DARWIN +export V8_VERSION V8_HASH_X86_64_LINUX V8_HASH_AARCH64_LINUX V8_HASH_AARCH64_DARWIN update-source-version "$ATTR_PATH" "$latest_version" "$src_hash" --ignore-same-version update_codex_pins From 91c3cab3e68e485a801b2580b7ce18cc65204e62 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 12 Jul 2026 20:41:49 +0100 Subject: [PATCH 73/77] acli: drop `x86_64-darwin` from update script --- pkgs/by-name/ac/acli/update.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ac/acli/update.py b/pkgs/by-name/ac/acli/update.py index 4afb0b902f6d..0bec673b26b0 100755 --- a/pkgs/by-name/ac/acli/update.py +++ b/pkgs/by-name/ac/acli/update.py @@ -10,7 +10,7 @@ from urllib.request import urlopen, Request def get_arch_os_key(url) -> str: if "darwin_amd64" in url: - return "x86_64-darwin" + return None elif "darwin_arm64" in url: return "aarch64-darwin" elif "linux_amd64" in url: @@ -57,9 +57,8 @@ def parse_and_check(content): ) for url, hex_sha in matches: - key = get_arch_os_key(url) - - data["sources"][key] = {"url": url, "sha256": hex_sha} + if key := get_arch_os_key(url): + data["sources"][key] = {"url": url, "sha256": hex_sha} data["sources"] = dict(sorted(data["sources"].items())) From 5fbfef30940d78c12602b9605f1a0a73e8c6a7c5 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 12 Jul 2026 20:42:01 +0100 Subject: [PATCH 74/77] swiftlint: drop `x86_64-darwin` from update script --- pkgs/by-name/sw/swiftlint/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/sw/swiftlint/update.sh b/pkgs/by-name/sw/swiftlint/update.sh index 0839de6e5565..6cfec190556e 100755 --- a/pkgs/by-name/sw/swiftlint/update.sh +++ b/pkgs/by-name/sw/swiftlint/update.sh @@ -19,7 +19,6 @@ echo "Updating swiftlint from $old_version to $version" declare -A platforms=( [x86_64-linux]="swiftlint_linux_amd64.zip" [aarch64-linux]="swiftlint_linux_arm64.zip" - [x86_64-darwin]="portable_swiftlint.zip" [aarch64-darwin]="portable_swiftlint.zip" ) From edb5a960e5e67c7918892d8f7048ab1c1b024e3c Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 08:08:46 +0000 Subject: [PATCH 75/77] raycast: drop `x86_64-darwin` from update script --- pkgs/by-name/ra/raycast/package.nix | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/ra/raycast/package.nix b/pkgs/by-name/ra/raycast/package.nix index aa90edbbf9bd..8e6b1196db41 100644 --- a/pkgs/by-name/ra/raycast/package.nix +++ b/pkgs/by-name/ra/raycast/package.nix @@ -14,15 +14,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "raycast"; version = "1.104.17"; - src = - { - aarch64-darwin = fetchurl { - name = "Raycast.dmg"; - url = "https://releases.raycast.com/releases/${finalAttrs.version}/download?build=arm"; - hash = "sha256-muX6PPanjU+ElCQhIfo7Y7cChbTO8Q/gH12ULvBK43s="; - }; - } - .${stdenvNoCC.system} or (throw "raycast: ${stdenvNoCC.system} is unsupported."); + src = fetchurl { + name = "Raycast.dmg"; + url = "https://releases.raycast.com/releases/${finalAttrs.version}/download?build=arm"; + hash = "sha256-muX6PPanjU+ElCQhIfo7Y7cChbTO8Q/gH12ULvBK43s="; + }; dontPatch = true; dontConfigure = true; @@ -55,15 +51,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { version=$(echo "$url" | jq -r '.version') arm_url="https://releases.raycast.com/releases/$version/download?build=arm" - x86_url="https://releases.raycast.com/releases/$version/download?build=x86_64" - arm_hash="sha256-$(curl -sL "$arm_url" | openssl dgst -sha256 -binary | openssl base64)" - x86_hash="sha256-$(curl -sL "$x86_url" | openssl dgst -sha256 -binary | openssl base64)" sed -i -E \ -e 's|(version = )"[0-9]+\.[0-9]+\.[0-9]+";|\1"'"$version"'";|' \ - -e '/aarch64-darwin = fetchurl/,/};/ s|(hash = )"sha256-[A-Za-z0-9+/]+=";|\1"'"$arm_hash"'";|' \ - -e '/x86_64-darwin = fetchurl/,/};/ s|(hash = )"sha256-[A-Za-z0-9+/]+=";|\1"'"$x86_hash"'";|' \ + -e '/src = fetchurl/,/};/ s|(hash = )"sha256-[A-Za-z0-9+/]+=";|\1"'"$arm_hash"'";|' \ ./pkgs/by-name/ra/raycast/package.nix ''; }); From a76ba612d60ca868570db143d207ca5392b24ea0 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 18 Feb 2026 08:01:09 +0000 Subject: [PATCH 76/77] tidgi: drop `x86_64-darwin` from update script --- pkgs/by-name/ti/tidgi/package.nix | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/ti/tidgi/package.nix b/pkgs/by-name/ti/tidgi/package.nix index 291abd95e9b4..5d60806bbe93 100644 --- a/pkgs/by-name/ti/tidgi/package.nix +++ b/pkgs/by-name/ti/tidgi/package.nix @@ -13,14 +13,10 @@ stdenv.mkDerivation (finalAttrs: { pname = "tidgi"; version = "0.12.4"; - src = - { - aarch64-darwin = fetchurl { - url = "https://github.com/tiddly-gittly/TidGi-Desktop/releases/download/v${finalAttrs.version}/TidGi-darwin-arm64-${finalAttrs.version}.zip"; - hash = "sha256-bSJFM67+KVECUqjwu1HYipn+zOps1ahNzM721yZL52c="; - }; - } - .${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); + src = fetchurl { + url = "https://github.com/tiddly-gittly/TidGi-Desktop/releases/download/v${finalAttrs.version}/TidGi-darwin-arm64-${finalAttrs.version}.zip"; + hash = "sha256-bSJFM67+KVECUqjwu1HYipn+zOps1ahNzM721yZL52c="; + }; dontBuild = true; @@ -51,10 +47,7 @@ stdenv.mkDerivation (finalAttrs: { regex: '^\s*version\s*=' fix: 'version = \"$latestVersion\";' " --update-all $(env EDITOR=echo nix edit --file . tidgi) - systems=$(nix eval --json -f . tidgi.meta.platforms | ${lib.getExe jq} --raw-output '.[]') - for system in $systems; do - hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix eval --raw --file . tidgi.src.url --system "$system"))) - ${lib.getExe' common-updater-scripts "update-source-version"} tidgi $latestVersion $hash --system=$system --ignore-same-version --ignore-same-hash + ${lib.getExe' common-updater-scripts "update-source-version"} tidgi $latestVersion --ignore-same-version --ignore-same-hash done ''; From 18378b98faa7f8770fe3b50ac430259fdb09c425 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 12 Jul 2026 20:42:29 +0100 Subject: [PATCH 77/77] sprite: drop `x86_64-darwin` from update script --- pkgs/by-name/sp/sprite/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/sp/sprite/update.sh b/pkgs/by-name/sp/sprite/update.sh index 91c2464ae641..26e37dd7c763 100755 --- a/pkgs/by-name/sp/sprite/update.sh +++ b/pkgs/by-name/sp/sprite/update.sh @@ -43,5 +43,4 @@ updateVersion "$latestVersion" updateHash "$latestVersion" x86_64-linux linux-amd64 updateHash "$latestVersion" aarch64-linux linux-arm64 -updateHash "$latestVersion" x86_64-darwin darwin-amd64 updateHash "$latestVersion" aarch64-darwin darwin-arm64