haskell.nix/overlays
Samuel Evans-Powell 0dca71e2f3
Improve coverage reports (#1548)
* Provide an empty coverage report when package has no coverage

- When covering a project with multiple packages, the project coverage report
  will produce a table of individual coverage reports for each package. The
  links in this table don't go anywhere when a package is uncovered (they are
  broken links).
  - By producing an empty coverage report when a package has no coverage, we fix
    the broken links, and provide a tad more information about the coverage
    state of that package.

* Improve project coverage report index page

- Provide a link to the union/all coverage report.
- Format the reports as a list instead of a table of one column.
- Provide better explanation of what each report means.

* Add warning explaining modules with no coverage

- Modules that have no coverage at all are simply not included in the HTML
  reports generated by HPC.
- Add a warning to the project coverage report index page so users are aware of
  this limitation of HPC.

* Simplify interface of coverageReport

- Remove the concept of "package boundaries" from the "coverageReport" function.
- The "coverageReport" is now a function of:
  - arbitrary checks generating tix files
  - arbitrary mix modules
- This more closely reflects the usage of hpc, which doesn't care about package
  boundaries.
- Use this new "coverageReport" function to simplify the "projectCoverageReport"
  implementation. A project coverage report now simply:
  - copies out constituent coverage reports.
  - writes out an "all coverage report" using all checks in the project and all
    mix modules..
  - writes out a summary index page.
2022-07-19 19:40:41 +12:00
..
emscripten fix ghcjs (#1311) 2022-01-09 03:11:37 +13:00
patches Fix for ghc-lib-parser 9.2 and haskell.nix patched ghc (#1502) 2022-06-02 15:00:54 +12:00
android.nix Enable aarch64 builds (#1316) 2022-01-09 11:36:53 +13:00
armv6l-linux.nix Add nixpkgs-2205 and update other nixpkgs pins (#1506) 2022-07-17 18:18:19 +12:00
bootstrap.nix Add nixpkgs-2205 and update other nixpkgs pins (#1506) 2022-07-17 18:18:19 +12:00
darwin.nix x509-system: use /usr/bin/security on macOS. (#974) 2020-12-16 16:00:20 +00:00
default.nix Repin wine to 3.21 as file access from TH breaks otherwise (#1508) 2022-06-07 17:36:54 +12:00
emscripten.nix fix ghcjs (#1311) 2022-01-09 03:11:37 +13:00
eval-packages.nix Fix evalPackages for flakes that are cross compiling (#1234) 2021-09-10 16:40:37 +12:00
ghc-packages.nix Use targetPackages.ncurses for ghc cross compiler (#1513) 2022-06-11 08:37:16 +12:00
ghc.nix Enable debug info on linux targets (#1050) 2021-02-22 18:27:36 +13:00
ghcjs-asterius-triple.nix Flake (#589 and #567) 2020-05-07 11:16:38 +12:00
ghcjs.nix Add nixpkgs-2205 and update other nixpkgs pins (#1506) 2022-07-17 18:18:19 +12:00
gobject-introspection.nix Improve conditional guarding gi fix (#977) 2020-12-18 19:23:12 +13:00
hackage-quirks.nix Fix #1507 by running postBuild hook in setup build (#1519) 2022-06-21 15:38:41 +12:00
haskell.nix Improve coverage reports (#1548) 2022-07-19 19:40:41 +12:00
hix.nix Add GHC 8.10.7 (#1220) 2021-09-01 22:43:31 +12:00
hydra.nix Remove canCleanSource (#1409) 2022-03-25 12:57:36 +13:00
linux-cross.nix Enable aarch64 builds (#1316) 2022-01-09 11:36:53 +13:00
mingw_w64.nix Workaround possible TH environment overflow running wine (#1517) 2022-06-16 20:58:29 +12:00
musl.nix Build bzip2 & xz with static libs in musl crossPkgs (#1456) 2022-04-28 10:13:42 +01:00
nix-prefetch-git-minimal.nix Support githash package and cross package refs (#843) 2021-01-14 12:34:06 +13:00
python.nix Flake (#589 and #567) 2020-05-07 11:16:38 +12:00
tools.nix Add getComponent to project and package (#1060) 2021-03-04 20:10:58 +13:00
windows.nix Add nixpkgs-2205 and update other nixpkgs pins (#1506) 2022-07-17 18:18:19 +12:00
wine.nix Use targetPackages.ncurses for ghc cross compiler (#1513) 2022-06-11 08:37:16 +12:00