Skip to content

Commit

Permalink
Enable aarch64-linux but disable it in hydra
Browse files Browse the repository at this point in the history
  • Loading branch information
carbolymer authored and palas committed Jul 15, 2024
1 parent 23e4354 commit 846cec1
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 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 @@ -180,8 +177,9 @@
in
lib.recursiveUpdate flake rec {
project = cabalProject;
# add a required job, that's basically all hydraJobs.
hydraJobs =
# Skip aarch64-linux as we don't have any native builders for this arch as of 2024-07-15
# so this would choke the CI. aarch64-linux binary building is enabled through cross-compilation.
hydraJobs = lib.optionalAttrs (system != "aarch64-linux") (
nixpkgs.callPackages inputs.iohkNix.utils.ciJobsAggregates
{
ciJobs =
Expand All @@ -191,7 +189,8 @@
revision = nixpkgs.writeText "revision" (inputs.self.rev or "dirty");
};
}
// {haddockShell = devShells.haddockShell;};
// {haddockShell = devShells.haddockShell;}
);
legacyPackages = rec {
inherit cabalProject nixpkgs;
# also provide hydraJobs through legacyPackages to allow building without system prefix:
Expand Down

0 comments on commit 846cec1

Please sign in to comment.