maintainers/scripts/rebuild-amount.sh: fix platform list

Without thew change the script fails as:

```
$ ./maintainers/scripts/rebuild-amount.sh HEAD^
...
error: evaluation aborted with the following error message: 'unsupported system type: x86_64-darwin'
```

Let's use more modern darwin target,
This commit is contained in:
Sergei Trofimovich
2026-10-11 19:41:10 +01:00
parent 338ddf19f3
commit 34a38cf4e3

View File

@@ -45,7 +45,7 @@ nixexpr() {
lib = import $1/lib;
hydraJobs = import $1/pkgs/top-level/release.nix
# Compromise: accuracy vs. resources needed for evaluation.
{ supportedSystems = cfg.systems or [ "x86_64-linux" "x86_64-darwin" ]; };
{ supportedSystems = cfg.systems or [ "x86_64-linux" "aarch64-darwin" ]; };
cfg = (import $1 {}).config.rebuild-amount or {};
recurseIntoAttrs = attrs: attrs // { recurseForDerivations = true; };