Skip to content

Commit

Permalink
Merge pull request #1407 from input-output-hk/aarch64-linux
Browse files Browse the repository at this point in the history
Add docker images to nix checks
  • Loading branch information
locallycompact committed May 2, 2024
2 parents 24c6bd8 + bfc0f66 commit d12adde
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"aarch64-darwin"
"aarch64-linux"
];
perSystem = { config, system, ... }:
perSystem = { pkgs, config, lib, system, ... }:
let
compiler = "ghc964";

Expand Down Expand Up @@ -104,9 +104,8 @@

packages =
hydraPackages //
prefixAttrs "docker-" hydraImages // {
spec = import ./spec { inherit pkgs; };
};
(if pkgs.stdenv.isLinux then (prefixAttrs "docker-" hydraImages) else { }) //
{ spec = import ./spec { inherit pkgs; }; };

checks = let lu = inputs.lint-utils.linters.${system}; in {
hlint = lu.hlint { src = self; hlint = pkgs.hlint; };
Expand Down Expand Up @@ -134,7 +133,15 @@
src = self;
exe = "${packages.plutus-merkle-tree-tests}/bin/tests";
};
};
} //
(if pkgs.stdenv.isLinux then
{
inherit (packages)
docker-hydra-explorer
docker-hydra-node
docker-hydra-tui
docker-hydraw;
} else { });

devShells = import ./nix/hydra/shell.nix {
inherit inputs pkgs hsPkgs system compiler;
Expand Down

0 comments on commit d12adde

Please sign in to comment.