@@ -281,7 +281,7 @@ Assorted functions for operating on [Haskell.nix][] data. This is
281281distinct from `pkgs.haskell.lib` in the current Nixpkgs Haskell
282282Infrastructure.
283283
284−### collectComponents and collectComponents'
284+### collectComponents, collectComponents'
285285
286286Extracts a selection of components from a Haskell [package set](#package-set).
287287
@@ -316,6 +316,12 @@ tests = collectComponents "tests" (package: package.identifier.name == "mypackag
316316Will result in moving derivations from `hsPkgs.mypackage.components.tests.unit-tests`
317317to `tests.mypackage.unit-tests`.
318318
319+### collectChecks, collectChecks'
320+
321+These are just like `collectComponents` and `collectComponents'`, except that they collect
322+the `checks` attributes of packages (which aren't components, and so can't be collected
323+by the other functions.
324+
319325#### check
320326
321327This function turns a derivation that builds a test into one to run it.