From 1a8c6cac8c7a9537fcf928714ca3778f4c59c2fd Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Mon, 21 Oct 2024 11:16:49 +1100 Subject: [PATCH] release: fix tests not running on `aarch64-darwin` --- release.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/release.nix b/release.nix index a910591..835e251 100644 --- a/release.nix +++ b/release.nix @@ -1,14 +1,11 @@ { 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;