Hamish MackenzieandGitHub a070082964 Improve flake code (#1743)
* Add hydraJobs.devShell and flatten hydraJobs

Also moves the `rawFlake` code into a `haskellLib.mkFlake` function

* Unflatten hydraJobs and add ciJobs

It turns out it is nice to use system first in the hierarchy for cicero.  Also both hydra and cicero are ok with a deep hierarchy of attributes.

* Refactoring

* Add mkFlakeCiJobs

* Avoid `:` in ciJobs and hydraJobs

* Use cabal names again in ciJobs

* More updates

Turns off code coverage by default.
Rename flattenChecks to mkFlakeChecks.
Adds flake packages to ciJobs and hydraJobs.

* Expand comment
2022-10-11 23:52:50 +13:00
2022-09-27 13:00:15 +13:00
2022-08-30 07:11:40 +00:00
2022-10-11 23:52:50 +13:00
2022-09-27 13:00:15 +13:00
2022-10-11 23:52:50 +13:00
2022-10-11 23:52:50 +13:00
2022-08-09 09:23:59 +00:00
2020-03-05 12:22:57 +13:00
2022-10-05 23:02:03 +13:00
2021-08-06 15:54:39 +12:00
2019-04-29 11:08:31 +08:00
2022-10-11 01:22:01 +00:00
2021-08-06 01:13:20 +00:00
2021-03-28 21:03:20 +13:00
2021-08-05 01:13:16 +00:00

haskell.nix is infrastructure for building Haskell packages with Nix

haskell.nix can automatically translate your Cabal or Stack project and its dependencies into Nix code.

Documentation

Help! Something isn't working

The #1 problem that people have when using haskell.nix is that they find themselves building GHC. This should not happen, but you must follow the haskell.nix setup instructions properly to avoid it. If you find this happening to you, please check that you have followed the getting started instructions and consult the corresponding troubleshooting section.

The troubleshooting documentation also contains some help for other common issues. Please give it a read before asking on IRC or opening an issue.

If you're still stuck, join the #haskell.nix channel on irc.libera.chat, or open an issue.

The haskell.nix repository contains the runtime system for building Haskell packages in Nix. It depends on other repos, which are:

  • nix-tools — provides the programs for generating Nix expressions from Haskell projects.

  • hackage.nix — the latest contents of the Hackage databases, converted to Nix expressions.

  • stackage.nix — all of the Stackage snapshots, converted to Nix expressions.

S
Description
Alternative Haskell Infrastructure for Nixpkgs
Readme
20 MiB
Languages
Nix 88.7%
Haskell 10.4%
Shell 0.8%