Advertisement
Guest User

NixOS infinite recursion error

a guest
Nov 26th, 2022
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.67 KB | None | 0 0
  1. warning: Git tree '/etc/nixos' is dirty
  2. error: infinite recursion encountered
  3.  
  4. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:461:58:
  5.  
  6. 460| # Push down position info.
  7. 461| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs);
  8. | ^
  9. 462| emptyValue = { value = {}; };
  10.  
  11. … while evaluating the attribute 'value'
  12.  
  13. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:461:58:
  14.  
  15. 460| # Push down position info.
  16. 461| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs);
  17. | ^
  18. 462| emptyValue = { value = {}; };
  19.  
  20. … while evaluating 'dischargeProperties'
  21.  
  22. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:832:25:
  23.  
  24. 831| */
  25. 832| dischargeProperties = def:
  26. | ^
  27. 833| if def._type or "" == "merge" then
  28.  
  29. … from call site
  30.  
  31. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:761:137:
  32.  
  33. 760| defs' = concatMap (m:
  34. 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  35. | ^
  36. 762| ) defs;
  37.  
  38. … while evaluating definitions from `/nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/nixos/modules/misc/nixpkgs.nix':
  39.  
  40. … while evaluating anonymous lambda
  41.  
  42. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:28:
  43.  
  44. 759| # Process mkMerge and mkIf properties.
  45. 760| defs' = concatMap (m:
  46. | ^
  47. 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  48.  
  49. … from call site
  50.  
  51. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:17:
  52.  
  53. 759| # Process mkMerge and mkIf properties.
  54. 760| defs' = concatMap (m:
  55. | ^
  56. 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  57.  
  58. … while evaluating the attribute 'values'
  59.  
  60. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:873:7:
  61.  
  62. 872| in {
  63. 873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
  64. | ^
  65. 874| inherit highestPrio;
  66.  
  67. … while evaluating the attribute 'values'
  68.  
  69. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:774:9:
  70.  
  71. 773| in {
  72. 774| values = defs''';
  73. | ^
  74. 775| inherit (defs'') highestPrio;
  75.  
  76. … while evaluating the attribute 'optionalValue.value'
  77.  
  78. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:792:5:
  79.  
  80. 791|
  81. 792| optionalValue =
  82. | ^
  83. 793| if isDefined then { value = mergedValue; }
  84.  
  85. … while evaluating anonymous lambda
  86.  
  87. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:455:29:
  88.  
  89. 454| merge = loc: defs:
  90. 455| zipAttrsWith (name: defs:
  91. | ^
  92. 456| let merged = mergeDefinitions (loc ++ [name]) elemType defs;
  93.  
  94. … from call site
  95.  
  96. … while evaluating the module argument `pkgs' in "/nix/store/dchv8c5dnpgpn6xmaiimbvj85z1hp7bv-source/modules/nixos/desktop":
  97.  
  98. … while evaluating anonymous lambda
  99.  
  100. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:494:44:
  101.  
  102. 493| context = name: ''while evaluating the module argument `${name}' in "${key}":'';
  103. 494| extraArgs = builtins.mapAttrs (name: _:
  104. | ^
  105. 495| builtins.addErrorContext (context name)
  106.  
  107. … from call site
  108.  
  109. … while evaluating the attribute 'options'
  110.  
  111. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:573:38:
  112.  
  113. 572| declsByName = byName "options" (module: option:
  114. 573| [{ inherit (module) _file; options = option; }]
  115. | ^
  116. 574| ) options;
  117.  
  118. … while evaluating 'isType'
  119.  
  120. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:71:18:
  121.  
  122. 70| rec {
  123. 71| isType = type: x: (x._type or "") == type;
  124. | ^
  125. 72|
  126.  
  127. … from call site
  128.  
  129. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:606:36:
  130.  
  131. 605| defns' = defnsByName'.${name} or [];
  132. 606| optionDecls = filter (m: isOption m.options) decls;
  133. | ^
  134. 607| in
  135.  
  136. … while evaluating anonymous lambda
  137.  
  138. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:606:33:
  139.  
  140. 605| defns' = defnsByName'.${name} or [];
  141. 606| optionDecls = filter (m: isOption m.options) decls;
  142. | ^
  143. 607| in
  144.  
  145. … from call site
  146.  
  147. … while evaluating anonymous lambda
  148.  
  149. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:600:39:
  150.  
  151. 599|
  152. 600| resultsByName = mapAttrs (name: decls:
  153. | ^
  154. 601| # We're descending into attribute ‘name’.
  155.  
  156. … from call site
  157.  
  158. … while evaluating anonymous lambda
  159.  
  160. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:642:37:
  161.  
  162. 641|
  163. 642| matchedOptions = mapAttrs (n: v: v.matchedOptions) resultsByName;
  164. | ^
  165. 643|
  166.  
  167. … from call site
  168.  
  169. … while evaluating 'g'
  170.  
  171. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:398:19:
  172.  
  173. 397| g =
  174. 398| name: value:
  175. | ^
  176. 399| if isAttrs value && cond value
  177.  
  178. … from call site
  179.  
  180. … while evaluating the attribute 'condition'
  181.  
  182. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
  183.  
  184. 902| { _type = "if";
  185. 903| inherit condition content;
  186. | ^
  187. 904| };
  188.  
  189. … while evaluating the attribute 'condition'
  190.  
  191. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
  192.  
  193. 902| { _type = "if";
  194. 903| inherit condition content;
  195. | ^
  196. 904| };
  197.  
  198. … while evaluating the attribute 'condition'
  199.  
  200. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
  201.  
  202. 902| { _type = "if";
  203. 903| inherit condition content;
  204. | ^
  205. 904| };
  206.  
  207. … while evaluating the attribute 'condition'
  208.  
  209. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
  210.  
  211. 902| { _type = "if";
  212. 903| inherit condition content;
  213. | ^
  214. 904| };
  215.  
  216. … while evaluating the attribute 'condition'
  217.  
  218. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
  219.  
  220. 902| { _type = "if";
  221. 903| inherit condition content;
  222. | ^
  223. 904| };
  224.  
  225. … while evaluating the attribute 'condition'
  226.  
  227. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
  228.  
  229. 902| { _type = "if";
  230. 903| inherit condition content;
  231. | ^
  232. 904| };
  233.  
  234. … while evaluating 'dischargeProperties'
  235.  
  236. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:832:25:
  237.  
  238. 831| */
  239. 832| dischargeProperties = def:
  240. | ^
  241. 833| if def._type or "" == "merge" then
  242.  
  243. … from call site
  244.  
  245. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:761:137:
  246.  
  247. 760| defs' = concatMap (m:
  248. 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  249. | ^
  250. 762| ) defs;
  251.  
  252. … while evaluating definitions from `/nix/store/dchv8c5dnpgpn6xmaiimbvj85z1hp7bv-source/modules/nixos/desktop':
  253.  
  254. … while evaluating anonymous lambda
  255.  
  256. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:28:
  257.  
  258. 759| # Process mkMerge and mkIf properties.
  259. 760| defs' = concatMap (m:
  260. | ^
  261. 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  262.  
  263. … from call site
  264.  
  265. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:17:
  266.  
  267. 759| # Process mkMerge and mkIf properties.
  268. 760| defs' = concatMap (m:
  269. | ^
  270. 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  271.  
  272. … while evaluating the attribute 'values'
  273.  
  274. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:873:7:
  275.  
  276. 872| in {
  277. 873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
  278. | ^
  279. 874| inherit highestPrio;
  280.  
  281. … while evaluating the attribute 'values'
  282.  
  283. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:774:9:
  284.  
  285. 773| in {
  286. 774| values = defs''';
  287. | ^
  288. 775| inherit (defs'') highestPrio;
  289.  
  290. … while evaluating the attribute 'mergedValue'
  291.  
  292. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:780:5:
  293.  
  294. 779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  295. 780| mergedValue =
  296. | ^
  297. 781| if isDefined then
  298.  
  299. … while evaluating the option `services.xserver.displayManager.lightdm.enable':
  300.  
  301. … while evaluating the attribute 'value'
  302.  
  303. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:746:9:
  304.  
  305. 745| in warnDeprecation opt //
  306. 746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
  307. | ^
  308. 747| inherit (res.defsFinal') highestPrio;
  309.  
  310. … while evaluating anonymous lambda
  311.  
  312. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:296:72:
  313.  
  314. 295| # For definitions that have an associated option
  315. 296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  316. | ^
  317. 297|
  318.  
  319. … from call site
  320.  
  321. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:401:20:
  322.  
  323. 400| then recurse (path ++ [name]) value
  324. 401| else f (path ++ [name]) value;
  325. | ^
  326. 402| in mapAttrs g;
  327.  
  328. … while evaluating 'g'
  329.  
  330. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:398:19:
  331.  
  332. 397| g =
  333. 398| name: value:
  334. | ^
  335. 399| if isAttrs value && cond value
  336.  
  337. … from call site
  338.  
  339. … while evaluating the attribute 'condition'
  340.  
  341. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
  342.  
  343. 902| { _type = "if";
  344. 903| inherit condition content;
  345. | ^
  346. 904| };
  347.  
  348. … while evaluating the attribute 'condition'
  349.  
  350. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
  351.  
  352. 902| { _type = "if";
  353. 903| inherit condition content;
  354. | ^
  355. 904| };
  356.  
  357. … while evaluating the attribute 'condition'
  358.  
  359. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
  360.  
  361. 902| { _type = "if";
  362. 903| inherit condition content;
  363. | ^
  364. 904| };
  365.  
  366. … while evaluating 'dischargeProperties'
  367.  
  368. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:832:25:
  369.  
  370. 831| */
  371. 832| dischargeProperties = def:
  372. | ^
  373. 833| if def._type or "" == "merge" then
  374.  
  375. … from call site
  376.  
  377. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:761:137:
  378.  
  379. 760| defs' = concatMap (m:
  380. 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  381. | ^
  382. 762| ) defs;
  383.  
  384. … while evaluating definitions from `/nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/nixos/modules/services/x11/display-managers/lightdm-greeters/tiny.nix':
  385.  
  386. … while evaluating anonymous lambda
  387.  
  388. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:28:
  389.  
  390. 759| # Process mkMerge and mkIf properties.
  391. 760| defs' = concatMap (m:
  392. | ^
  393. 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  394.  
  395. … from call site
  396.  
  397. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:17:
  398.  
  399. 759| # Process mkMerge and mkIf properties.
  400. 760| defs' = concatMap (m:
  401. | ^
  402. 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  403.  
  404. … while evaluating the attribute 'values'
  405.  
  406. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:873:7:
  407.  
  408. 872| in {
  409. 873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
  410. | ^
  411. 874| inherit highestPrio;
  412.  
  413. … while evaluating the attribute 'values'
  414.  
  415. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:774:9:
  416.  
  417. 773| in {
  418. 774| values = defs''';
  419. | ^
  420. 775| inherit (defs'') highestPrio;
  421.  
  422. … while evaluating the attribute 'mergedValue'
  423.  
  424. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:780:5:
  425.  
  426. 779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  427. 780| mergedValue =
  428. | ^
  429. 781| if isDefined then
  430.  
  431. … while evaluating the option `nixpkgs.config':
  432.  
  433. … while evaluating the attribute 'value'
  434.  
  435. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:746:9:
  436.  
  437. 745| in warnDeprecation opt //
  438. 746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
  439. | ^
  440. 747| inherit (res.defsFinal') highestPrio;
  441.  
  442. … while evaluating anonymous lambda
  443.  
  444. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:296:72:
  445.  
  446. 295| # For definitions that have an associated option
  447. 296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  448. | ^
  449. 297|
  450.  
  451. … from call site
  452.  
  453. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:401:20:
  454.  
  455. 400| then recurse (path ++ [name]) value
  456. 401| else f (path ++ [name]) value;
  457. | ^
  458. 402| in mapAttrs g;
  459.  
  460. … while evaluating 'g'
  461.  
  462. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:398:19:
  463.  
  464. 397| g =
  465. 398| name: value:
  466. | ^
  467. 399| if isAttrs value && cond value
  468.  
  469. … from call site
  470.  
  471. … while evaluating 'isFunction'
  472.  
  473. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/trivial.nix:441:16:
  474.  
  475. 440| */
  476. 441| isFunction = f: builtins.isFunction f ||
  477. | ^
  478. 442| (f ? __functor && isFunction (f.__functor f));
  479.  
  480. … from call site
  481.  
  482. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:73:8:
  483.  
  484. 72| config1 =
  485. 73| if lib.isFunction config0
  486. | ^
  487. 74| then config0 { inherit pkgs; }
  488.  
  489. … while evaluating the attribute 'config'
  490.  
  491. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:83:9:
  492.  
  493. 82| # filter-out known options, FIXME: remove this eventually
  494. 83| config = builtins.intersectAttrs options config1;
  495. | ^
  496. 84| })
  497.  
  498. … while evaluating 'addMeta'
  499.  
  500. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:451:17:
  501.  
  502. 450| let
  503. 451| addMeta = config: if m ? meta
  504. | ^
  505. 452| then mkMerge [ config { meta = m.meta; } ]
  506.  
  507. … from call site
  508.  
  509. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:468:37:
  510.  
  511. 467| options = m.options or {};
  512. 468| config = addFreeformType (addMeta (m.config or {}));
  513. | ^
  514. 469| }
  515.  
  516. … while evaluating 'addFreeformType'
  517.  
  518. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:454:25:
  519.  
  520. 453| else config;
  521. 454| addFreeformType = config: if m ? freeformType
  522. | ^
  523. 455| then mkMerge [ config { _module.freeformType = m.freeformType; } ]
  524.  
  525. … from call site
  526.  
  527. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:468:20:
  528.  
  529. 467| options = m.options or {};
  530. 468| config = addFreeformType (addMeta (m.config or {}));
  531. | ^
  532. 469| }
  533.  
  534. … while evaluating the attribute 'config'
  535.  
  536. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:468:11:
  537.  
  538. 467| options = m.options or {};
  539. 468| config = addFreeformType (addMeta (m.config or {}));
  540. | ^
  541. 469| }
  542.  
  543. … while evaluating 'pushDownProperties'
  544.  
  545. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:812:24:
  546.  
  547. 811| */
  548. 812| pushDownProperties = cfg:
  549. | ^
  550. 813| if cfg._type or "" == "merge" then
  551.  
  552. … from call site
  553.  
  554. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:530:73:
  555.  
  556. 529| mergeModules' prefix modules
  557. 530| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
  558. | ^
  559. 531|
  560.  
  561. … while evaluating anonymous lambda
  562.  
  563. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:530:19:
  564.  
  565. 529| mergeModules' prefix modules
  566. 530| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
  567. | ^
  568. 531|
  569.  
  570. … from call site
  571.  
  572. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:530:8:
  573.  
  574. 529| mergeModules' prefix modules
  575. 530| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
  576. | ^
  577. 531|
  578.  
  579. … while evaluating 'byName'
  580.  
  581. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:555:25:
  582.  
  583. 554| */
  584. 555| byName = attr: f: modules:
  585. | ^
  586. 556| zipAttrsWith (n: concatLists)
  587.  
  588. … from call site
  589.  
  590. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:576:21:
  591.  
  592. 575| # an attrset 'name' => list of submodules that define ‘name’.
  593. 576| defnsByName = byName "config" (module: value:
  594. | ^
  595. 577| map (config: { inherit (module) file; inherit config; }) (pushDownProperties value)
  596.  
  597. … while evaluating 'byName'
  598.  
  599. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:555:25:
  600.  
  601. 554| */
  602. 555| byName = attr: f: modules:
  603. | ^
  604. 556| zipAttrsWith (n: concatLists)
  605.  
  606. … from call site
  607.  
  608. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:580:22:
  609.  
  610. 579| # extract the definitions for each loc
  611. 580| defnsByName' = byName "config" (module: value:
  612. | ^
  613. 581| [{ inherit (module) file; inherit value; }]
  614.  
  615. … while evaluating the attribute 'values'
  616.  
  617. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:873:7:
  618.  
  619. 872| in {
  620. 873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
  621. | ^
  622. 874| inherit highestPrio;
  623.  
  624. … while evaluating the attribute 'values'
  625.  
  626. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:774:9:
  627.  
  628. 773| in {
  629. 774| values = defs''';
  630. | ^
  631. 775| inherit (defs'') highestPrio;
  632.  
  633. … while evaluating the attribute 'mergedValue'
  634.  
  635. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:780:5:
  636.  
  637. 779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  638. 780| mergedValue =
  639. | ^
  640. 781| if isDefined then
  641.  
  642. … while evaluating the option `_module.freeformType':
  643.  
  644. … while evaluating the attribute 'value'
  645.  
  646. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:746:9:
  647.  
  648. 745| in warnDeprecation opt //
  649. 746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
  650. | ^
  651. 747| inherit (res.defsFinal') highestPrio;
  652.  
  653. … while evaluating anonymous lambda
  654.  
  655. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:296:72:
  656.  
  657. 295| # For definitions that have an associated option
  658. 296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  659. | ^
  660. 297|
  661.  
  662. … from call site
  663.  
  664. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:401:20:
  665.  
  666. 400| then recurse (path ++ [name]) value
  667. 401| else f (path ++ [name]) value;
  668. | ^
  669. 402| in mapAttrs g;
  670.  
  671. … while evaluating 'g'
  672.  
  673. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:398:19:
  674.  
  675. 397| g =
  676. 398| name: value:
  677. | ^
  678. 399| if isAttrs value && cond value
  679.  
  680. … from call site
  681.  
  682. … while evaluating the attribute 'config.warnings'
  683.  
  684. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:363:9:
  685.  
  686. 362| options = checked options;
  687. 363| config = checked (removeAttrs config [ "_module" ]);
  688. | ^
  689. 364| _module = checked (config._module);
  690.  
  691. … while evaluating 'fold''
  692.  
  693. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/lists.nix:56:15:
  694.  
  695. 55| len = length list;
  696. 56| fold' = n:
  697. | ^
  698. 57| if n == len
  699.  
  700. … from call site
  701.  
  702. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/lists.nix:60:8:
  703.  
  704. 59| else op (elemAt list n) (fold' (n + 1));
  705. 60| in fold' 0;
  706. | ^
  707. 61|
  708.  
  709. … while evaluating 'foldr'
  710.  
  711. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/lists.nix:53:20:
  712.  
  713. 52| */
  714. 53| foldr = op: nul: list:
  715. | ^
  716. 54| let
  717.  
  718. … from call site
  719.  
  720. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/trivial.nix:407:33:
  721.  
  722. 406|
  723. 407| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
  724. | ^
  725. 408|
  726.  
  727. … while evaluating 'showWarnings'
  728.  
  729. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/trivial.nix:407:28:
  730.  
  731. 406|
  732. 407| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
  733. | ^
  734. 408|
  735.  
  736. … from call site
  737.  
  738. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:89:12:
  739.  
  740. 88| # take all the rest as-is
  741. 89| config = lib.showWarnings configEval.config.warnings
  742. | ^
  743. 90| (config1 // builtins.removeAttrs configEval.config [ "_module" ]);
  744.  
  745. … while evaluating anonymous lambda
  746.  
  747. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/default.nix:7:1:
  748.  
  749. 6|
  750. 7| { # Args just for stdenvs' usage
  751. | ^
  752. 8| lib
  753.  
  754. … from call site
  755.  
  756. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:127:12:
  757.  
  758. 126|
  759. 127| stages = stdenvStages {
  760. | ^
  761. 128| inherit lib localSystem crossSystem config overlays crossOverlays;
  762.  
  763. … while evaluating 'reverseList'
  764.  
  765. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/lists.nix:394:17:
  766.  
  767. 393| */
  768. 394| reverseList = xs:
  769. | ^
  770. 395| let l = length xs; in genList (n: elemAt xs (l - n - 1)) l;
  771.  
  772. … from call site
  773.  
  774. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:85:6:
  775.  
  776. 84| // (stageFun prevStage))
  777. 85| (lib.lists.reverseList stageFuns);
  778. | ^
  779. 86|
  780.  
  781. … while evaluating 'imap1'
  782.  
  783. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/lists.nix:117:14:
  784.  
  785. 116| */
  786. 117| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
  787. | ^
  788. 118|
  789.  
  790. … from call site
  791.  
  792. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:78:30:
  793.  
  794. 77| # isn't already set.
  795. 78| withAllowCustomOverrides = lib.lists.imap1
  796. | ^
  797. 79| (index: stageFun: prevStage:
  798.  
  799. … while evaluating 'go'
  800.  
  801. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:63:18:
  802.  
  803. 62| len = builtins.length list;
  804. 63| go = pred: n:
  805. | ^
  806. 64| if n == len
  807.  
  808. … from call site
  809.  
  810. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:72:13:
  811.  
  812. 71| lapp = lnul cur;
  813. 72| cur = go lapp 0;
  814. | ^
  815. 73| in cur;
  816.  
  817. … while evaluating 'dfold'
  818.  
  819. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:60:27:
  820.  
  821. 59| */
  822. 60| dfold = op: lnul: rnul: list:
  823. | ^
  824. 61| let
  825.  
  826. … from call site
  827.  
  828. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:142:4:
  829.  
  830. 141|
  831. 142| in dfold folder postStage (_: {}) withAllowCustomOverrides
  832. | ^
  833.  
  834. … while evaluating anonymous lambda
  835.  
  836. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:42:1:
  837.  
  838. 41| # other words, this does a foldr not foldl.
  839. 42| stageFuns: let
  840. | ^
  841. 43|
  842.  
  843. … from call site
  844.  
  845. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:131:10:
  846.  
  847. 130|
  848. 131| pkgs = boot stages;
  849. | ^
  850. 132|
  851.  
  852. … while evaluating anonymous lambda
  853.  
  854. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:58:108:
  855.  
  856. 57| throwIfNot (lib.isList crossOverlays) "The crossOverlays argument to nixpkgs must be a list."
  857. 58| lib.foldr (x: throwIfNot (lib.isFunction x) "All crossOverlays passed to nixpkgs must be functions.") (r: r) crossOverlays
  858. | ^
  859. 59| ;
  860.  
  861. … from call site
  862.  
  863. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:133:4:
  864.  
  865. 132|
  866. 133| in checked pkgs
  867. | ^
  868.  
  869. … while evaluating anonymous lambda
  870.  
  871. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:19:1:
  872.  
  873. 18|
  874. 19| { # The system packages will be built on. See the manual for the
  875. | ^
  876. 20| # subtle division of labor between these two `*System`s and the three
  877.  
  878. … from call site
  879.  
  880. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/impure.nix:82:1:
  881.  
  882. 81|
  883. 82| import ./. (builtins.removeAttrs args [ "system" ] // {
  884. | ^
  885. 83| inherit config overlays localSystem;
  886.  
  887. … while evaluating anonymous lambda
  888.  
  889. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/impure.nix:14:1:
  890.  
  891. 13|
  892. 14| { # We put legacy `system` into `localSystem`, if `localSystem` was not passed.
  893. | ^
  894. 15| # If neither is passed, assume we are building packages on the current
  895.  
  896. … from call site
  897.  
  898. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/nixos/modules/misc/nixpkgs.nix:58:17:
  899.  
  900. 57|
  901. 58| defaultPkgs = import ../../.. {
  902. | ^
  903. 59| inherit (cfg) config overlays localSystem crossSystem;
  904.  
  905. … while evaluating the attribute 'value'
  906.  
  907. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:461:58:
  908.  
  909. 460| # Push down position info.
  910. 461| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs);
  911. | ^
  912. 462| emptyValue = { value = {}; };
  913.  
  914. … while evaluating 'dischargeProperties'
  915.  
  916. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:832:25:
  917.  
  918. 831| */
  919. 832| dischargeProperties = def:
  920. | ^
  921. 833| if def._type or "" == "merge" then
  922.  
  923. … from call site
  924.  
  925. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:761:137:
  926.  
  927. 760| defs' = concatMap (m:
  928. 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  929. | ^
  930. 762| ) defs;
  931.  
  932. … while evaluating definitions from `/nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/nixos/modules/misc/nixpkgs.nix':
  933.  
  934. … while evaluating anonymous lambda
  935.  
  936. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:28:
  937.  
  938. 759| # Process mkMerge and mkIf properties.
  939. 760| defs' = concatMap (m:
  940. | ^
  941. 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  942.  
  943. … from call site
  944.  
  945. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:17:
  946.  
  947. 759| # Process mkMerge and mkIf properties.
  948. 760| defs' = concatMap (m:
  949. | ^
  950. 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  951.  
  952. … while evaluating the attribute 'values'
  953.  
  954. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:873:7:
  955.  
  956. 872| in {
  957. 873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
  958. | ^
  959. 874| inherit highestPrio;
  960.  
  961. … while evaluating the attribute 'values'
  962.  
  963. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:774:9:
  964.  
  965. 773| in {
  966. 774| values = defs''';
  967. | ^
  968. 775| inherit (defs'') highestPrio;
  969.  
  970. … while evaluating the attribute 'optionalValue.value'
  971.  
  972. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:792:5:
  973.  
  974. 791|
  975. 792| optionalValue =
  976. | ^
  977. 793| if isDefined then { value = mergedValue; }
  978.  
  979. … while evaluating anonymous lambda
  980.  
  981. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:455:29:
  982.  
  983. 454| merge = loc: defs:
  984. 455| zipAttrsWith (name: defs:
  985. | ^
  986. 456| let merged = mergeDefinitions (loc ++ [name]) elemType defs;
  987.  
  988. … from call site
  989.  
  990. … while evaluating the module argument `pkgs' in "/nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/nixos/modules/services/hardware/bluetooth.nix":
  991.  
  992. … while evaluating anonymous lambda
  993.  
  994. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:494:44:
  995.  
  996. 493| context = name: ''while evaluating the module argument `${name}' in "${key}":'';
  997. 494| extraArgs = builtins.mapAttrs (name: _:
  998. | ^
  999. 495| builtins.addErrorContext (context name)
  1000.  
  1001. … from call site
  1002.  
  1003. … while evaluating the attribute 'type.getSubModules'
  1004.  
  1005. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/nixos/modules/services/hardware/bluetooth.nix:71:9:
  1006.  
  1007. 70| settings = mkOption {
  1008. 71| type = cfgFmt.type;
  1009. | ^
  1010. 72| default = { };
  1011.  
  1012. … while evaluating 'fixupOptionType'
  1013.  
  1014. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:893:26:
  1015.  
  1016. 892| # TODO: Merge this into mergeOptionDecls
  1017. 893| fixupOptionType = loc: opt:
  1018. | ^
  1019. 894| if opt.type.getSubModules or null == null
  1020.  
  1021. … from call site
  1022.  
  1023. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:609:23:
  1024.  
  1025. 608| if length optionDecls == length decls then
  1026. 609| let opt = fixupOptionType loc (mergeOptionDecls loc decls);
  1027. | ^
  1028. 610| in {
  1029.  
  1030. … while evaluating 'warnIf'
  1031.  
  1032. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/trivial.nix:350:18:
  1033.  
  1034. 349| */
  1035. 350| warnIf = cond: msg: if cond then warn msg else x: x;
  1036. | ^
  1037. 351|
  1038.  
  1039. … from call site
  1040.  
  1041. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:742:9:
  1042.  
  1043. 741| warnDeprecation =
  1044. 742| warnIf (opt.type.deprecationMessage != null)
  1045. | ^
  1046. 743| "The type `types.${opt.type.name}' of option `${showOption loc}' defined in ${showFiles opt.declarations} is deprecated. ${opt.type.deprecationMessage}";
  1047.  
  1048. … while evaluating 'evalOptionValue'
  1049.  
  1050. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:717:31:
  1051.  
  1052. 716| config value. */
  1053. 717| evalOptionValue = loc: opt: defs:
  1054. | ^
  1055. 718| let
  1056.  
  1057. … from call site
  1058.  
  1059. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:611:32:
  1060.  
  1061. 610| in {
  1062. 611| matchedOptions = evalOptionValue loc opt defns';
  1063. | ^
  1064. 612| unmatchedDefns = [];
  1065.  
  1066. … while evaluating the attribute 'matchedOptions'
  1067.  
  1068. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:611:15:
  1069.  
  1070. 610| in {
  1071. 611| matchedOptions = evalOptionValue loc opt defns';
  1072. | ^
  1073. 612| unmatchedDefns = [];
  1074.  
  1075. … while evaluating anonymous lambda
  1076.  
  1077. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:642:37:
  1078.  
  1079. 641|
  1080. 642| matchedOptions = mapAttrs (n: v: v.matchedOptions) resultsByName;
  1081. | ^
  1082. 643|
  1083.  
  1084. … from call site
  1085.  
  1086. … while evaluating 'attrByPath'
  1087.  
  1088. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:24:35:
  1089.  
  1090. 23| */
  1091. 24| attrByPath = attrPath: default: e:
  1092. | ^
  1093. 25| let attr = head attrPath;
  1094.  
  1095. … from call site
  1096.  
  1097. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:29:12:
  1098.  
  1099. 28| else if e ? ${attr}
  1100. 29| then attrByPath (tail attrPath) default e.${attr}
  1101. | ^
  1102. 30| else default;
  1103.  
  1104. … while evaluating 'attrByPath'
  1105.  
  1106. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:24:35:
  1107.  
  1108. 23| */
  1109. 24| attrByPath = attrPath: default: e:
  1110. | ^
  1111. 25| let attr = head attrPath;
  1112.  
  1113. … from call site
  1114.  
  1115. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:29:12:
  1116.  
  1117. 28| else if e ? ${attr}
  1118. 29| then attrByPath (tail attrPath) default e.${attr}
  1119. | ^
  1120. 30| else default;
  1121.  
  1122. … while evaluating 'attrByPath'
  1123.  
  1124. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:24:35:
  1125.  
  1126. 23| */
  1127. 24| attrByPath = attrPath: default: e:
  1128. | ^
  1129. 25| let attr = head attrPath;
  1130.  
  1131. … from call site
  1132.  
  1133. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:29:12:
  1134.  
  1135. 28| else if e ? ${attr}
  1136. 29| then attrByPath (tail attrPath) default e.${attr}
  1137. | ^
  1138. 30| else default;
  1139.  
  1140. … while evaluating 'attrByPath'
  1141.  
  1142. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:24:35:
  1143.  
  1144. 23| */
  1145. 24| attrByPath = attrPath: default: e:
  1146. | ^
  1147. 25| let attr = head attrPath;
  1148.  
  1149. … from call site
  1150.  
  1151. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:1160:26:
  1152.  
  1153. 1159| (abort "Renaming error: option `${showOption to}' does not exist.");
  1154. 1160| toType = let opt = attrByPath to {} options; in opt.type or (types.submodule {});
  1155. | ^
  1156. 1161| in
  1157.  
  1158. … while evaluating 'optionalAttrs'
  1159.  
  1160. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:453:25:
  1161.  
  1162. 452| */
  1163. 453| optionalAttrs = cond: as: if cond then as else {};
  1164. | ^
  1165. 454|
  1166.  
  1167. … from call site
  1168.  
  1169. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:1167:12:
  1170.  
  1171. 1166| apply = x: use (toOf config);
  1172. 1167| } // optionalAttrs (toType != null) {
  1173. | ^
  1174. 1168| type = toType;
  1175.  
  1176. … while evaluating 'atDepth'
  1177.  
  1178. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:60:17:
  1179.  
  1180. 59| len = length attrPath;
  1181. 60| atDepth = n:
  1182. | ^
  1183. 61| if n == len
  1184.  
  1185. … from call site
  1186.  
  1187. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:63:39:
  1188.  
  1189. 62| then value
  1190. 63| else { ${elemAt attrPath n} = atDepth (n + 1); };
  1191. | ^
  1192. 64| in atDepth 0;
  1193.  
  1194. … while evaluating the attribute 'options'
  1195.  
  1196. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:573:38:
  1197.  
  1198. 572| declsByName = byName "options" (module: option:
  1199. 573| [{ inherit (module) _file; options = option; }]
  1200. | ^
  1201. 574| ) options;
  1202.  
  1203. … while evaluating 'isType'
  1204.  
  1205. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:71:18:
  1206.  
  1207. 70| rec {
  1208. 71| isType = type: x: (x._type or "") == type;
  1209. | ^
  1210. 72|
  1211.  
  1212. … from call site
  1213.  
  1214. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:606:36:
  1215.  
  1216. 605| defns' = defnsByName'.${name} or [];
  1217. 606| optionDecls = filter (m: isOption m.options) decls;
  1218. | ^
  1219. 607| in
  1220.  
  1221. … while evaluating anonymous lambda
  1222.  
  1223. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:606:33:
  1224.  
  1225. 605| defns' = defnsByName'.${name} or [];
  1226. 606| optionDecls = filter (m: isOption m.options) decls;
  1227. | ^
  1228. 607| in
  1229.  
  1230. … from call site
  1231.  
  1232. … while evaluating anonymous lambda
  1233.  
  1234. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:600:39:
  1235.  
  1236. 599|
  1237. 600| resultsByName = mapAttrs (name: decls:
  1238. | ^
  1239. 601| # We're descending into attribute ‘name’.
  1240.  
  1241. … from call site
  1242.  
  1243. … while evaluating anonymous lambda
  1244.  
  1245. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:647:22:
  1246.  
  1247. 646| # Propagate all unmatched definitions from nested option sets
  1248. 647| mapAttrs (n: v: v.unmatchedDefns) resultsByName
  1249. | ^
  1250. 648| # Plus the definitions for the current prefix that don't have a matching option
  1251.  
  1252. … from call site
  1253.  
  1254. … while evaluating anonymous lambda
  1255.  
  1256. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:661:46:
  1257.  
  1258. 660| else
  1259. 661| concatLists (mapAttrsToList (name: defs:
  1260. | ^
  1261. 662| map (def: def // {
  1262.  
  1263. … from call site
  1264.  
  1265. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:356:16:
  1266.  
  1267. 355| mapAttrsToList = f: attrs:
  1268. 356| map (name: f name attrs.${name}) (attrNames attrs);
  1269. | ^
  1270. 357|
  1271.  
  1272. … while evaluating anonymous lambda
  1273.  
  1274. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:356:10:
  1275.  
  1276. 355| mapAttrsToList = f: attrs:
  1277. 356| map (name: f name attrs.${name}) (attrNames attrs);
  1278. | ^
  1279. 357|
  1280.  
  1281. … from call site
  1282.  
  1283. … while evaluating the attribute 'unmatchedDefns'
  1284.  
  1285. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:654:7:
  1286.  
  1287. 653| # Transforms unmatchedDefnsByName into a list of definitions
  1288. 654| unmatchedDefns =
  1289. | ^
  1290. 655| if configs == []
  1291.  
  1292. … while evaluating anonymous lambda
  1293.  
  1294. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:647:22:
  1295.  
  1296. 646| # Propagate all unmatched definitions from nested option sets
  1297. 647| mapAttrs (n: v: v.unmatchedDefns) resultsByName
  1298. | ^
  1299. 648| # Plus the definitions for the current prefix that don't have a matching option
  1300.  
  1301. … from call site
  1302.  
  1303. … while evaluating anonymous lambda
  1304.  
  1305. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:661:46:
  1306.  
  1307. 660| else
  1308. 661| concatLists (mapAttrsToList (name: defs:
  1309. | ^
  1310. 662| map (def: def // {
  1311.  
  1312. … from call site
  1313.  
  1314. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:356:16:
  1315.  
  1316. 355| mapAttrsToList = f: attrs:
  1317. 356| map (name: f name attrs.${name}) (attrNames attrs);
  1318. | ^
  1319. 357|
  1320.  
  1321. … while evaluating anonymous lambda
  1322.  
  1323. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:356:10:
  1324.  
  1325. 355| mapAttrsToList = f: attrs:
  1326. 356| map (name: f name attrs.${name}) (attrNames attrs);
  1327. | ^
  1328. 357|
  1329.  
  1330. … from call site
  1331.  
  1332. … while evaluating the attribute 'unmatchedDefns'
  1333.  
  1334. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:654:7:
  1335.  
  1336. 653| # Transforms unmatchedDefnsByName into a list of definitions
  1337. 654| unmatchedDefns =
  1338. | ^
  1339. 655| if configs == []
  1340.  
  1341. … while evaluating anonymous lambda
  1342.  
  1343. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:647:22:
  1344.  
  1345. 646| # Propagate all unmatched definitions from nested option sets
  1346. 647| mapAttrs (n: v: v.unmatchedDefns) resultsByName
  1347. | ^
  1348. 648| # Plus the definitions for the current prefix that don't have a matching option
  1349.  
  1350. … from call site
  1351.  
  1352. … while evaluating anonymous lambda
  1353.  
  1354. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:661:46:
  1355.  
  1356. 660| else
  1357. 661| concatLists (mapAttrsToList (name: defs:
  1358. | ^
  1359. 662| map (def: def // {
  1360.  
  1361. … from call site
  1362.  
  1363. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:356:16:
  1364.  
  1365. 355| mapAttrsToList = f: attrs:
  1366. 356| map (name: f name attrs.${name}) (attrNames attrs);
  1367. | ^
  1368. 357|
  1369.  
  1370. … while evaluating anonymous lambda
  1371.  
  1372. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:356:10:
  1373.  
  1374. 355| mapAttrsToList = f: attrs:
  1375. 356| map (name: f name attrs.${name}) (attrNames attrs);
  1376. | ^
  1377. 357|
  1378.  
  1379. … from call site
  1380.  
  1381. … while evaluating the attribute 'unmatchedDefns'
  1382.  
  1383. at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:654:7:
  1384.  
  1385. 653| # Transforms unmatchedDefnsByName into a list of definitions
  1386. 654| unmatchedDefns =
  1387. | ^
  1388. 655| if configs == []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement