ci-root: teach about aarch64-darwin

This commit is contained in:
Luke Granger-Brown 2021-09-05 09:08:28 +00:00
parent e7bfb107b1
commit 26dad9dce1

View file

@ -8,7 +8,7 @@ let
lib = pkgs.lib; lib = pkgs.lib;
prefixAttrs = prefix: lib.mapAttrsToList (name: value: { name = "${prefix}-${name}"; path = value; }); prefixAttrs = prefix: lib.mapAttrsToList (name: value: { name = "${prefix}-${name}"; path = value; });
ciBits = { ciBits = rec {
x86_64-linux = { x86_64-linux = {
machine = depot.ops.nixos.systems; machine = depot.ops.nixos.systems;
pkgs = builtins.removeAttrs depot.nix.pkgs [ "grafana-plugins" "windows" "unifiHacked" ]; pkgs = builtins.removeAttrs depot.nix.pkgs [ "grafana-plugins" "windows" "unifiHacked" ];
@ -24,6 +24,7 @@ let
x86_64-darwin = { x86_64-darwin = {
home-manager = depot.ops.home-manager-ext.built; home-manager = depot.ops.home-manager-ext.built;
}; };
aarch64-darwin = x86_64-darwin;
}.${builtins.currentSystem}; }.${builtins.currentSystem};
in in
pkgs.linkFarm "ci" (builtins.concatLists (lib.mapAttrsToList prefixAttrs ciBits)) pkgs.linkFarm "ci" (builtins.concatLists (lib.mapAttrsToList prefixAttrs ciBits))