1722900598008983227

· kierank's pastes · raw

expires: 03 Nov, 2024

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