mirror of
https://github.com/srid/haskell-flake.git
synced 2024-09-11 05:55:25 +03:00
A
flake-parts
Nix module for Haskell development
**Completely new way to override Haskell packages**: removed `overrides` and `source-overrides`. Use `packages` to specify your source overrides; use `settings` to override individual packages in modular fashion (like NixOS modules). Additional changes include: - Add `package.<name>.cabal.executables` referring to the executables in a package. This is auto-detected by parsing the Cabal file. - Add `packages.<name>.local.*` to determine of a package is a local package or not. - Add `projectFlakeName` option (useful in debug logging prefix) - `flake.haskellFlakeProjectModules`: Dropped all defaults, except the `output` module, which now exports `packages` and `settings`. Added a `defaults.projectModules.output` option that allows the user to override this module, or directly access the generated module. - Add `project.config.defaults.settings.default` defining sensible defaults for local packages. - Add `project.config.defaults.enable` to turn off all default settings en masse. Also, disable docs test due to https://github.com/hercules-ci/flake.parts-website/issues/332 |
||
---|---|---|
.github/workflows | ||
doc | ||
example | ||
nix | ||
test | ||
.gitignore | ||
CHANGELOG.md | ||
flake.nix | ||
Jenkinsfile | ||
LICENSE | ||
README.md | ||
rundoc.sh | ||
runtest.sh |
haskell-flake
A flake-parts
module to make Haskell development simpler with Nix.
![](/srid/haskell-flake/media/commit/996f5c2cdc67285c4990df378976f9dbf26f8401/doc/logo.webp)