Skip to content

Commit

Permalink
Merge pull request #837 from IntersectMBO/mgalazyn/chore/enable-aarch…
Browse files Browse the repository at this point in the history
…64-linux

Enable aarch64-linux but disable it in hydra
  • Loading branch information
carbolymer authored Jul 16, 2024
2 parents 9b34c13 + a80426f commit e5bb0ad
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
supportedSystems = [
"x86_64-linux"
"x86_64-darwin"
# this is slow as we don't have aarch64-linux native builders as of 2024-04-03
# disabling to reduce CI time initially. Uncomment later
# When you uncomment, lookup the "TODO generalize" comments in release-upload.yaml
# "aarch64-linux"
"aarch64-linux"
"aarch64-darwin"
];

Expand Down Expand Up @@ -183,9 +180,8 @@
}
);
in
lib.recursiveUpdate flake rec {
(lib.recursiveUpdate flake rec {
project = cabalProject;
# add a required job, that's basically all hydraJobs.
hydraJobs =
nixpkgs.callPackages inputs.iohkNix.utils.ciJobsAggregates
{
Expand Down Expand Up @@ -221,7 +217,11 @@

# formatter used by nix fmt
formatter = nixpkgs.alejandra;
}
})
# Disable aarch64-linux hydraJobs as we don't have any native builders for this architecture
# as of 2024-07-15 so this would choke the CI. aarch64-linux binary building is enabled through
# cross-compilation.
// lib.optionalAttrs (system == "aarch64-linux") { hydraJobs = { }; }
);

nixConfig = {
Expand Down

0 comments on commit e5bb0ad

Please sign in to comment.