mirror of
https://github.com/srid/haskell-flake.git
synced 2024-10-26 06:58:36 +03:00
Rename haskellPackages
-> basePackages
(#77)
* Rename haskellPackages -> basePackages * Typo
This commit is contained in:
parent
4caada3794
commit
026acf572f
@ -7,7 +7,7 @@
|
|||||||
- API changes
|
- 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).
|
- #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).
|
||||||
- #64: Remove hlintCheck (use [treefmt-nix](https://github.com/numtide/treefmt-nix#flake-parts) instead)
|
- #64: Remove hlintCheck (use [treefmt-nix](https://github.com/numtide/treefmt-nix#flake-parts) instead)
|
||||||
- #52: Expose the final package set (API provisional)
|
- #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`.
|
||||||
|
|
||||||
## 0.1.0
|
## 0.1.0
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ in
|
|||||||
./haskell-project.nix
|
./haskell-project.nix
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
haskellPackages = mkOption {
|
basePackages = mkOption {
|
||||||
type = types.attrsOf raw;
|
type = types.attrsOf raw;
|
||||||
description = ''
|
description = ''
|
||||||
Which Haskell package set / compiler to use.
|
Which Haskell package set / compiler to use.
|
||||||
@ -144,7 +144,7 @@ in
|
|||||||
type = types.attrsOf raw;
|
type = types.attrsOf raw;
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
description = ''
|
description = ''
|
||||||
The final package set, based `haskellPackages` plus
|
The final package set, based on `basePackages` plus
|
||||||
the additions and overrides specified in the other options.
|
the additions and overrides specified in the other options.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -68,7 +68,7 @@ in
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
finalPackages = config.haskellPackages.extend config.finalOverlay;
|
finalPackages = config.basePackages.extend config.finalOverlay;
|
||||||
|
|
||||||
finalOverlay = lib.composeManyExtensions [
|
finalOverlay = lib.composeManyExtensions [
|
||||||
# The order here matters.
|
# The order here matters.
|
||||||
|
Loading…
Reference in New Issue
Block a user