release: fix tests not running on aarch64-darwin

This commit is contained in:
Michael Hoang 2024-10-21 11:16:49 +11:00
parent 98e7dba872
commit 1a8c6cac8c

View file

@ -1,14 +1,11 @@
{ nixpkgs ? <nixpkgs>
, supportedSystems ? [ "x86_64-darwin" ]
, system ? builtins.currentSystem
, supportedSystems ? [ "x86_64-darwin" "aarch64-darwin" ]
, scrubJobs ? true
}:
let
inherit (release) mapTestOn packagePlatforms pkgs all linux darwin;
system = "x86_64-darwin";
mapPlatforms = systems: pkgs.lib.mapAttrs (n: v: systems);
inherit (release) mapTestOn packagePlatforms pkgs;
buildFromConfig = configuration: sel: sel
(import ./. { inherit nixpkgs configuration system; }).config;