Skip to content

Commit

Permalink
Remove aarch-darwin packages from CI and update IOG caches (#5400)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeme-wana authored Jun 25, 2023
1 parent a1b9bb5 commit 9d30100
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,9 @@
nixConfig = {
extra-substituters = [
"https://cache.iog.io"
"https://cache.zw3rk.com"
];
extra-trusted-public-keys = [
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
"loony-tools:pr9m4BkM/5/eSTZlkQyRt57Jz7OMBxNSUiMC4FkcNfk="
];
allow-import-from-derivation = true;
};
Expand Down
11 changes: 6 additions & 5 deletions nix/cells/automation/ciJobs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,12 @@ let
ghc810.roots = x86_64-linux.ghc810.roots;
ghc92.roots = x86_64-linux.ghc92.roots;
ghc96.roots = x86_64-linux.ghc96.roots;
packages = x86_64-linux.packages;
# Note: We can't build the 9.6 shell on aarch64-darwin
# because of https://github.com/well-typed/cborg/issues/311
devshells = removeAttrs x86_64-linux.devshells [ "plutus-shell-96" ];
};

aarch64-linux = { };

system-matrix = { inherit x86_64-linux x86_64-darwin aarch64-darwin aarch64-linux; };
system-matrix = { inherit x86_64-linux x86_64-darwin aarch64-darwin; };
in
system-matrix.${system};

Expand All @@ -85,7 +82,11 @@ let
constituents = lib.collect lib.isDerivation filtered-jobs;
};

final-jobset = filtered-jobs // { required = required-job; };
merged-jobset = filtered-jobs // { required = required-job; };

is-supported-system = lib.elem system [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ];

final-jobset = lib.optionalAttrs is-supported-system merged-jobset;

in

Expand Down

0 comments on commit 9d30100

Please sign in to comment.