mirror of
https://github.com/srid/haskell-flake.git
synced 2024-09-11 05:55:25 +03:00
Make devShell.tools
a lazyAttrsOf (#223)
This commit is contained in:
parent
56c5550e18
commit
f9d17c3aa6
@ -5,7 +5,9 @@
|
||||
- #210: Add `extraLibraries` to `settings` module.
|
||||
- #215: Improved debug logging.
|
||||
- #216: Remove `debug` option (pass `--trace-verbose` to nix instead)
|
||||
- Fixes
|
||||
- #222: Improve `cabal.project` parser by handling files not ending with newline
|
||||
- #223 Make `devShell.tools` a `lazyAttrsOf` (lazy evaluation of values)
|
||||
- Breaking changes
|
||||
- #221: Switch to `buildFromSdist`, to allow using non-standard package sets (wherein `cabal-install` is otherwise built without using user's overrides)
|
||||
|
||||
|
@ -18,7 +18,7 @@ in
|
||||
};
|
||||
|
||||
devShell.tools = mkOption {
|
||||
type = functionTo (types.attrsOf (types.nullOr types.package));
|
||||
type = functionTo (types.lazyAttrsOf (types.nullOr types.package));
|
||||
description = ''Build tools always included in devShell'';
|
||||
default = hp: with hp; lib.optionalAttrs config.defaults.enable {
|
||||
inherit
|
||||
|
@ -17,7 +17,7 @@ let
|
||||
default = true;
|
||||
};
|
||||
tools = mkOption {
|
||||
type = functionTo (types.attrsOf (types.nullOr types.package));
|
||||
type = functionTo (types.lazyAttrsOf (types.nullOr types.package));
|
||||
description = ''
|
||||
Build tools for developing the Haskell project.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user