mirror of
https://github.com/srid/haskell-flake.git
synced 2024-09-11 05:55:25 +03:00
parent
cac0cff083
commit
b1db0d5312
@ -16,6 +16,7 @@
|
||||
- #222: Improve `cabal.project` parser by handling files not ending with newline
|
||||
- #271, #223: Change all `types.attrsOf` to `types.lazyAttrsOf`. If you use `lib.mkIf` for `attrsOf` values (not `submodule` options), use `lib.optionalAttrs` instead. This fixes #270 (`basePackages`) and improves performance.
|
||||
- #296: Fix `removeConfigureFlags` to actually work.
|
||||
- #297: Fix `brokenVersions` to actually work.
|
||||
|
||||
## 0.4.0 (Aug 22, 2023)
|
||||
|
||||
|
@ -45,14 +45,14 @@ in
|
||||
if enable then markBroken else unmarkBroken;
|
||||
};
|
||||
brokenVersions = {
|
||||
type = types.lazyAttrsOf types.str;
|
||||
type = types.listOf types.str;
|
||||
description = ''
|
||||
List of versions that are known to be broken.
|
||||
'';
|
||||
impl = versions:
|
||||
let
|
||||
markBrokenVersions = vs: drv:
|
||||
builtins.foldl' markBrokenVersion drv vs;
|
||||
builtins.foldl' (lib.flip markBrokenVersion) drv vs;
|
||||
in
|
||||
markBrokenVersions versions;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user