File tree Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Original file line number Diff line number Diff line change 1
1
# Mark everthing in the install-plan as "planned"
2
2
{ getComponents } :
3
3
{ config , lib , ...} : {
4
- packages = lib . listToAttrs ( map ( p :
5
- let components =
6
- if p ? component-name
7
- then { ${ p . component-name } = { inherit ( p ) depends exe-depends ; } ; }
8
- else p . components or { } ;
9
- in {
10
- name = p . id ;
11
- value . components = lib . mapAttrs ( type : x :
12
- if type == "library" || type == "setup"
13
- then { planned = lib . mkOverride 900 true ; }
14
- else
15
- lib . mapAttrs ( _ : _ : {
16
- planned = lib . mkOverride 900 true ;
17
- } ) x
18
- ) ( getComponents null { } p ) ;
19
- } ) config . plan-json . install-plan ) ;
4
+ packages = lib . listToAttrs ( map ( p : {
5
+ name = p . id ;
6
+ value . components = lib . mapAttrs ( type : x :
7
+ if type == "library" || type == "setup"
8
+ then { planned = lib . mkOverride 900 true ; }
9
+ else
10
+ lib . mapAttrs ( _ : _ : {
11
+ planned = lib . mkOverride 900 true ;
12
+ } ) x
13
+ ) ( getComponents null { } p ) ;
14
+ } ) config . plan-json . install-plan ) ;
20
15
}
You can’t perform that action at this time.
0 commit comments