Skip to content

Commit

Permalink
flake/packages: test all packages by default
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Jan 6, 2024
1 parent 9acb792 commit 79683b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion flake-modules/checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
inherit pkgs;
inherit (pkgs) lib;
};
docs = config.packages.docs ? null;
};
};
}
3 changes: 3 additions & 0 deletions flake-modules/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
in
docs
// man-docs;

# Test that all packages build fine when running `nix flake check`.
checks = config.packages;
};
}

0 comments on commit 79683b3

Please sign in to comment.