1722021761454688994

· kierank's pastes · raw

expires: 24 Oct, 2024

  1warning: Git tree '/home/kierank/etc/nixos' is dirty
  2building the system configuration...
  3warning: Git tree '/home/kierank/etc/nixos' is dirty
  4error:
  5       … while calling anonymous lambda
  6
  7         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/attrsets.nix:1571:24:
  8
  9         1570|     let f = attrPath:
 10         1571|       zipAttrsWith (n: values:
 11             |                        ^
 12         1572|         let here = attrPath ++ [n]; in
 13
 14       … while calling anonymous lambda
 15
 16         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/attrsets.nix:1205:18:
 17
 18         1204|         mapAttrs
 19         1205|           (name: value:
 20             |                  ^
 21         1206|             if isAttrs value && cond value
 22
 23       … from call site
 24
 25         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/attrsets.nix:1208:18:
 26
 27         1207|             then recurse (path ++ [ name ]) value
 28         1208|             else f (path ++ [ name ]) value);
 29             |                  ^
 30         1209|     in
 31
 32       … while calling anonymous lambda
 33
 34         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/modules.nix:242:72:
 35
 36          241|           # For definitions that have an associated option
 37          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
 38             |                                                                        ^
 39          243|
 40
 41       … while evaluating the option `system.build.toplevel':
 42
 43       … while calling anonymous lambda
 44
 45         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/modules.nix:824:28:
 46
 47          823|         # Process mkMerge and mkIf properties.
 48          824|         defs' = concatMap (m:
 49             |                            ^
 50          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
 51
 52       … while evaluating definitions from `/nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/nixos/modules/system/activation/top-level.nix':
 53
 54       … from call site
 55
 56         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/modules.nix:825:137:
 57
 58          824|         defs' = concatMap (m:
 59          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
 60             |                                                                                                                                         ^
 61          826|         ) defs;
 62
 63       … while calling 'dischargeProperties'
 64
 65         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/modules.nix:896:25:
 66
 67          895|   */
 68          896|   dischargeProperties = def:
 69             |                         ^
 70          897|     if def._type or "" == "merge" then
 71
 72       … from call site
 73
 74         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/nixos/modules/system/activation/top-level.nix:71:12:
 75
 76           70|   # Replace runtime dependencies
 77           71|   system = foldr ({ oldDependency, newDependency }: drv:
 78             |            ^
 79           72|       pkgs.replaceDependency { inherit oldDependency newDependency drv; }
 80
 81       … while calling 'foldr'
 82
 83         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/lists.nix:121:20:
 84
 85          120|   */
 86          121|   foldr = op: nul: list:
 87             |                    ^
 88          122|     let
 89
 90       … from call site
 91
 92         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/lists.nix:128:8:
 93
 94          127|         else op (elemAt list n) (fold' (n + 1));
 95          128|     in fold' 0;
 96             |        ^
 97          129|
 98
 99       … while calling 'fold''
100
101         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/lists.nix:124:15:
102
103          123|       len = length list;
104          124|       fold' = n:
105             |               ^
106          125|         if n == len
107
108       … while calling anonymous lambda
109
110         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/attrsets.nix:1205:18:
111
112         1204|         mapAttrs
113         1205|           (name: value:
114             |                  ^
115         1206|             if isAttrs value && cond value
116
117       … from call site
118
119         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/attrsets.nix:1208:18:
120
121         1207|             then recurse (path ++ [ name ]) value
122         1208|             else f (path ++ [ name ]) value);
123             |                  ^
124         1209|     in
125
126       … while calling anonymous lambda
127
128         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/modules.nix:242:72:
129
130          241|           # For definitions that have an associated option
131          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
132             |                                                                        ^
133          243|
134
135       … while evaluating the option `assertions':
136
137       … while calling anonymous lambda
138
139         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/modules.nix:824:28:
140
141          823|         # Process mkMerge and mkIf properties.
142          824|         defs' = concatMap (m:
143             |                            ^
144          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
145
146       … while evaluating definitions from `/nix/store/hxhym8c5xz6dxkl3d9yppiwlnzk3khn7-source/nixos/common.nix':
147
148       … from call site
149
150         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/modules.nix:825:137:
151
152          824|         defs' = concatMap (m:
153          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
154             |                                                                                                                                         ^
155          826|         ) defs;
156
157       … while calling 'dischargeProperties'
158
159         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/modules.nix:896:25:
160
161          895|   */
162          896|   dischargeProperties = def:
163             |                         ^
164          897|     if def._type or "" == "merge" then
165
166       … from call site
167
168         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/modules.nix:902:11:
169
170          901|         if def.condition then
171          902|           dischargeProperties def.content
172             |           ^
173          903|         else
174
175       … while calling 'dischargeProperties'
176
177         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/modules.nix:896:25:
178
179          895|   */
180          896|   dischargeProperties = def:
181             |                         ^
182          897|     if def._type or "" == "merge" then
183
184       … from call site
185
186         at /nix/store/hxhym8c5xz6dxkl3d9yppiwlnzk3khn7-source/nixos/common.nix:110:20:
187
188          109|
189          110|       assertions = flatten (flip mapAttrsToList cfg.users (user: config:
190             |                    ^
191          111|         flip map config.assertions (assertion: {
192
193       … while calling 'flatten'
194
195         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/lists.nix:431:13:
196
197          430|   */
198          431|   flatten = x:
199             |             ^
200          432|     if isList x
201
202       … while calling anonymous lambda
203
204         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/lists.nix:433:21:
205
206          432|     if isList x
207          433|     then concatMap (y: flatten y) x
208             |                     ^
209          434|     else [x];
210
211       … from call site
212
213         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/lists.nix:433:24:
214
215          432|     if isList x
216          433|     then concatMap (y: flatten y) x
217             |                        ^
218          434|     else [x];
219
220       … while calling 'flatten'
221
222         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/lists.nix:431:13:
223
224          430|   */
225          431|   flatten = x:
226             |             ^
227          432|     if isList x
228
229       … while calling anonymous lambda
230
231         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/attrsets.nix:1096:10:
232
233         1095|     attrs:
234         1096|     map (name: f name attrs.${name}) (attrNames attrs);
235             |          ^
236         1097|
237
238       … from call site
239
240         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/attrsets.nix:1096:16:
241
242         1095|     attrs:
243         1096|     map (name: f name attrs.${name}) (attrNames attrs);
244             |                ^
245         1097|
246
247       … while calling anonymous lambda
248
249         at /nix/store/hxhym8c5xz6dxkl3d9yppiwlnzk3khn7-source/nixos/common.nix:110:66:
250
251          109|
252          110|       assertions = flatten (flip mapAttrsToList cfg.users (user: config:
253             |                                                                  ^
254          111|         flip map config.assertions (assertion: {
255
256       … from call site
257
258         at /nix/store/hxhym8c5xz6dxkl3d9yppiwlnzk3khn7-source/nixos/common.nix:111:9:
259
260          110|       assertions = flatten (flip mapAttrsToList cfg.users (user: config:
261          111|         flip map config.assertions (assertion: {
262             |         ^
263          112|           inherit (assertion) assertion;
264
265       … while calling 'flip'
266
267         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/trivial.nix:314:16:
268
269          313|   */
270          314|   flip = f: a: b: f b a;
271             |                ^
272          315|
273
274       … while calling anonymous lambda
275
276         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/types.nix:584:22:
277
278          583|       merge = loc: defs:
279          584|         mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
280             |                      ^
281          585|             (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
282
283       … from call site
284
285         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/modules.nix:846:59:
286
287          845|       if isDefined then
288          846|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
289             |                                                           ^
290          847|         else let allInvalid = filter (def: ! type.check def.value) defsFinal;
291
292       … while calling 'merge'
293
294         at /nix/store/114462g9fhfa5ck1ssribfdh7wlk9m1s-source/lib/types.nix:888:22:
295
296          887|         check = x: isAttrs x || isFunction x || path.check x;
297          888|         merge = loc: defs:
298             |                      ^
299          889|           (base.extendModules {
300
301       error: The option `home-manager.users.kierank.wayland.windowManager.hyprland.settings' does not exist. Definition values:
302       - In `/nix/store/i68cbq46n9bd8vpahr6ccc34sqzh63kg-source/modules/home-manager/hyprland.nix':
303           {
304             _type = "if";
305             condition = true;
306             content = {
307               source = [
308           ...