Skip to content

Commit

Permalink
Merge pull request #240 from nix-community/buildbot-test
Browse files Browse the repository at this point in the history
build all packages/devShells in checks
  • Loading branch information
figsoda committed Dec 6, 2023
2 parents 3dbd145 + fb1c5d2 commit b5fcd08
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@
};
});

checks = forAllSystems (system: {
nix-index = self.packages.${system}.default;
});
checks = forAllSystems (system:
let
packages = lib.mapAttrs' (n: lib.nameValuePair "package-${n}") self.packages.${system};
devShells = lib.mapAttrs' (n: lib.nameValuePair "devShell-${n}") self.devShells.${system};
in packages // devShells
);

devShells = forAllSystems (system: {
minimal = with nixpkgsFor.${system}; mkShell {
Expand Down

0 comments on commit b5fcd08

Please sign in to comment.