haskell-flake/CHANGELOG.md

25 lines
1.9 KiB
Markdown
Raw Normal View History

2023-02-02 03:15:24 +03:00
# Revision history for haskell-flake
## `master` branch
- New features
- #63: Add `config.haskellProjects.${name}.outputs` containing all flake outputs for that project.
2023-03-02 22:15:39 +03:00
- #102 In addition, `outputs` contains `finalPackages` and `localPackages`.
- #49 & #91: The `packages` option now autodiscovers the top-level `.cabal` file (in addition to looking inside sub-directories) as its default value.
- #69: The default flake template creates `flake.nix` only, while the `#example` one creates the full Haskell project template.
2023-02-24 00:44:05 +03:00
- #92: Add `devShell.mkShellArgs` to pass custom arguments to `mkShell`
2023-03-10 02:33:23 +03:00
- #111: Add `devShell.extraLibraries` to add custom Haskell libraries to the devshell.
- #100: `source-overrides` option now supports specifying Hackage versions.
- API changes
- #37: Group `buildTools` (renamed to `tools`), `hlsCheck` and `hlintCheck` under the `devShell` submodule option; and allow disabling them all using `devShell.enable = false;` (useful if you want haskell-flake to produce just the package outputs).
2023-02-07 01:42:00 +03:00
- #64: Remove hlintCheck (use [treefmt-nix](https://github.com/numtide/treefmt-nix#flake-parts) instead)
- #52: Expose the final package set as `finalPackages`. Rename `haskellPackages`, accordingly, to `basePackages`. Overlays are applied on top of `basePackage` -- using `source-overrides`, `overrides`, `packages` in that order -- to produce `finalPackages`.
- #68: You can now use `imports` inside of `haskellProjects.<name>` to modularize your Haskell project configuration.
- #79: `flake.haskellFlakeProjectModules.<name>` option can be used to set and expose your Haskell project modules to other flakes.
- #106: Auto-generate the default modules in 'haskellFlakeProjectModules' for reuse in downstream flakes.
- #67: `overrides` will be combined using `composeManyExtensions`, however their order is arbitrary. This is an experimental feature, and a warning will be logged.
2023-02-02 03:15:24 +03:00
## 0.1.0
- Initial release