Skip to content

Commit e08a9c9

Browse files
committed
Expand comment
1 parent 41da1b8 commit e08a9c9

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

lib/default.nix

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,10 +396,16 @@ in {
396396
combineFlakes = sep: prefixAndFlakes: builtins.foldl' addFlakes {}
397397
(lib.mapAttrsToList (prefix: flake: prefixFlake prefix sep flake) prefixAndFlakes);
398398

399-
# Make the CI jobs for running code coverage. This turns on `doCoverage`
400-
# for the `packages` selected and also applies `coverageProjectModule`.
401-
# `coverageProjectModule` useful for modifying the project settings when
402-
# running code coverage (just pass `{}` if you do not need to modify anything).
399+
# Make the CI jobs for running code coverage.
400+
# `project` is the base project without code coverage enabled.
401+
# `packages` is a selector function that indicates what packages
402+
# we should run code coverage on (pass haskellLib.selectProjectPackages
403+
# to run it on the packages).
404+
# `coverageProjectModule` is applied to `project` and is useful for
405+
# modifying the project settings when running code coverage (just
406+
# pass `{}` if you do not need to modify anything).
407+
# By default the `doCoverage` flag will be set for the packages
408+
# selected by `packages`.
403409
projectCoverageCiJobs = project: packages: coverageProjectModule:
404410
let
405411
packageNames = project: builtins.attrNames (packages project.hsPkgs);

0 commit comments

Comments
 (0)