File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 18
18
let
19
19
lib = builtins // nixpkgs . lib // parts . lib ;
20
20
inherit ( lib )
21
+ assertMsg
21
22
attrByPath
22
23
attrNames
23
24
concatMapStrings
24
25
elem
25
26
evalFlakeModule
26
27
filter
28
+ intersectLists
27
29
listToAttrs
28
30
makeExtensible
29
31
map
147
149
# extensions = [ ... ];
148
150
# };
149
151
finalLib =
150
- if cfg . lib . enable && ( lib . assertMsg ( cfg . lib . extender ? extend ) "the extender provide does not have a `extend` function" ) then
152
+ if cfg . lib . enable && ( assertMsg ( cfg . lib . extender ? extend ) "the extender provide does not have a `extend` function" ) then
151
153
cfg . lib . extender . extend
152
154
( final : prev : mergeAttrsList (
153
155
# builtins
154
156
[
155
- ( lib . removeAttrs builtins (
156
- lib . intersectLists ( lib . attrNames cfg . lib . extender ) ( lib . attrNames builtins )
157
+ ( removeAttrs builtins (
158
+ intersectLists ( attrNames cfg . lib . extender ) ( attrNames builtins )
157
159
) )
158
160
]
159
161
++
You can’t perform that action at this time.
0 commit comments