Skip to content

Commit

Permalink
Merge pull request #190 from mlabs-haskell/szg251/add-darwin-to-ci
Browse files Browse the repository at this point in the history
Add darwin to CI
  • Loading branch information
aciceri authored Jan 26, 2024
2 parents ae5d1a6 + b0127b1 commit 37f6303
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,15 @@
default = config.packages."plutip-core:lib:plutip-core";
};

inherit (flake) apps checks;
inherit (flake) apps;

checks = flake.checks // {
"plutip-core:test:plutip-tests" = flake.checks."plutip-core:test:plutip-tests".overrideAttrs {
# Override the derivation name otherwise the socket paths for cardano nodes (which contain the derivation name)
# in the nix sandbox will be too long for `x86_64-darwin`
name = "plutip-tests";
};
};

devShells = {
# Adds pre-commit packages and shell hook to the haskell shell
Expand Down
2 changes: 1 addition & 1 deletion hercules-ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
};
};

herculesCI.ciSystems = [ "x86_64-linux" ];
herculesCI.ciSystems = [ "x86_64-linux" "x86_64-darwin" ];
}

0 comments on commit 37f6303

Please sign in to comment.