@@ -281,17 +281,21 @@ Assorted functions for operating on [Haskell.nix][] data. This is
281distinct from `pkgs.haskell.lib` in the current Nixpkgs Haskell
281distinct from `pkgs.haskell.lib` in the current Nixpkgs Haskell
282Infrastructure.
282Infrastructure.
284−### collectComponents
284+### collectComponents and collectComponents'
286Extracts a selection of components from a Haskell [package set](#package-set).
286Extracts a selection of components from a Haskell [package set](#package-set).
288This can be used to filter out all test suites or benchmarks of
288This can be used to filter out all test suites or benchmarks of
289your project, so that they can be built in Hydra (see check if you
289your project, so that they can be built in Hydra (see check if you
290−waht to run the tests as well as build them).
290+want to run the tests as well as build them).
292+`collectComponents'` is an alias of `collectComponents` without
293+predicate for filtering.
293collectComponents =
296collectComponents =
294 group: packageSel: haskellPackages: ...
297 group: packageSel: haskellPackages: ...
298+collectComponents' = group: collectComponents (_: true)
@@ -321,7 +325,7 @@ This function turns a derivation that builds a test into one to run it.
321| `drv` | Derivation | One of `$pkg.components.tests.$test`. |
325| `drv` | Derivation | One of `$pkg.components.tests.$test`. |
323For convenience `$pkg.components.tests` are mapped with this function
327For convenience `$pkg.components.tests` are mapped with this function
324−to `$pkg.components.checks`.
328+to `$pkg.checks`.
326This function is intended for use with `tests` but it should also work
330This function is intended for use with `tests` but it should also work
327for `exes` and `benchmarks` if you just want to run them to make sure
331for `exes` and `benchmarks` if you just want to run them to make sure