A flake-parts Nix module for Haskell development
Go to file
Sridhar Ratnakumar 996f5c2cdc
Modular overrides (#162)
**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
2023-05-30 13:55:26 -04:00
.github/workflows test: Install Nix as a CI step (#125) 2023-03-14 11:48:08 -04:00
doc Modular overrides (#162) 2023-05-30 13:55:26 -04:00
example Modular overrides (#162) 2023-05-30 13:55:26 -04:00
nix Modular overrides (#162) 2023-05-30 13:55:26 -04:00
test Modular overrides (#162) 2023-05-30 13:55:26 -04:00
.gitignore Modular overrides (#162) 2023-05-30 13:55:26 -04:00
CHANGELOG.md Modular overrides (#162) 2023-05-30 13:55:26 -04:00
flake.nix refactor: Split into smaller modules (#152) 2023-04-28 12:54:18 -04:00
Jenkinsfile add Jenkins configuration (#128) 2023-03-19 12:15:32 -04:00
LICENSE Initial commit 2022-05-30 09:01:58 -04:00
README.md readme: add discussion section 2023-05-02 17:45:56 -04:00
rundoc.sh Add emanote run command to docs script 2023-03-14 11:21:11 -04:00
runtest.sh Modular overrides (#162) 2023-05-30 13:55:26 -04:00