valeratrades

Untitled

Nov 4th, 2025
1,195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 61.90 KB | None | 0 0
  1. evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'
  2. evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'
  3. error:
  4.        … while calling anonymous lambda
  5.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1691:14:
  6.          1690|         zipAttrsWith (
  7.          1691|           n: values:
  8.              |              ^
  9.          1692|           let
  10.  
  11.        … while calling the 'head' builtin
  12.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1696:13:
  13.          1695|           if length values == 1 || pred here (elemAt values 1) (head values) then
  14.          1696|             head values
  15.              |             ^
  16.          1697|           else
  17.  
  18.        … while calling anonymous lambda
  19.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1188:17:
  20.          1187|         mapAttrs (
  21.          1188|           name: value:
  22.              |                 ^
  23.          1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  24.  
  25.        … from call site
  26.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1189:85:
  27.          1188|           name: value:
  28.          1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  29.              |                                                                                     ^
  30.          1190|         );
  31.  
  32.        … while calling anonymous lambda
  33.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:275:71:
  34.           274|           # For definitions that have an associated option
  35.           275|           declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
  36.              |                                                                       ^
  37.           276|
  38.  
  39.        … while evaluating the attribute 'value'
  40.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1118:7:
  41.          1117|     // {
  42.          1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  43.              |       ^
  44.          1119|       inherit (res.defsFinal') highestPrio;
  45.  
  46.       … while evaluating the option `system.build.toplevel':
  47.  
  48.        … while evaluating the attribute 'mergedValue'
  49.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1189:5:
  50.          1188|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  51.          1189|     mergedValue =
  52.              |     ^
  53.          1190|       if isDefined then
  54.  
  55.        … while evaluating a branch condition
  56.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1190:7:
  57.          1189|     mergedValue =
  58.          1190|       if isDefined then
  59.              |       ^
  60.          1191|         if type.merge ? v2 then
  61.  
  62.        … while evaluating the attribute 'values'
  63.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1183:9:
  64.          1182|       {
  65.          1183|         values = defsSorted;
  66.              |         ^
  67.          1184|         inherit (defsFiltered) highestPrio;
  68.  
  69.        … while evaluating a branch condition
  70.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1177:11:
  71.          1176|           # Avoid sorting if we don't have to.
  72.          1177|           if any (def: def.value._type or "" == "order") defsFiltered.values then
  73.              |           ^
  74.          1178|             sortProperties defsFiltered.values
  75.  
  76.        … while calling the 'any' builtin
  77.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1177:14:
  78.          1176|           # Avoid sorting if we don't have to.
  79.          1177|           if any (def: def.value._type or "" == "order") defsFiltered.values then
  80.              |              ^
  81.          1178|             sortProperties defsFiltered.values
  82.  
  83.        … while evaluating the attribute 'values'
  84.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1357:7:
  85.          1356|     {
  86.          1357|       values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs;
  87.              |       ^
  88.          1358|       inherit highestPrio;
  89.  
  90.        … while calling the 'concatMap' builtin
  91.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1357:16:
  92.          1356|     {
  93.          1357|       values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs;
  94.              |                ^
  95.          1358|       inherit highestPrio;
  96.  
  97.        … while calling the 'concatMap' builtin
  98.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1157:26:
  99.          1156|         # Process mkMerge and mkIf properties.
  100.          1157|         defsNormalized = concatMap (
  101.              |                          ^
  102.          1158|           m:
  103.  
  104.        … while calling anonymous lambda
  105.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1158:11:
  106.          1157|         defsNormalized = concatMap (
  107.          1158|           m:
  108.              |           ^
  109.          1159|           map (
  110.  
  111.        … while calling the 'map' builtin
  112.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1159:11:
  113.          1158|           m:
  114.          1159|           map (
  115.              |           ^
  116.          1160|             value:
  117.  
  118.        … while evaluating definitions from `/nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/nixos/modules/system/activation/top-level.nix':
  119.  
  120.       … from call site
  121.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1168:80:
  122.         1167|               }
  123.         1168|           ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  124.             |                                                                                ^
  125.         1169|         ) defs;
  126.  
  127.       … while calling 'dischargeProperties'
  128.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1308:5:
  129.         1307|   dischargeProperties =
  130.         1308|     def:
  131.             |     ^
  132.         1309|     if def._type or "" == "merge" then
  133.  
  134.       … while evaluating a branch condition
  135.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1309:5:
  136.         1308|     def:
  137.         1309|     if def._type or "" == "merge" then
  138.             |     ^
  139.         1310|       concatMap dischargeProperties def.contents
  140.  
  141.       … while evaluating the attribute 'value'
  142.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:805:21:
  143.          804|             inherit (module) file;
  144.          805|             inherit value;
  145.             |                     ^
  146.          806|           }) module.config
  147.  
  148.       … from call site
  149.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/nixos/modules/system/activation/top-level.nix:83:26:
  150.           82|   # Handle assertions and warnings
  151.           83|   baseSystemAssertWarn = lib.asserts.checkAssertWarn config.assertions config.warnings baseSystem;
  152.             |                          ^
  153.           84|
  154.  
  155.       … while calling 'checkAssertWarn'
  156.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/asserts.nix:193:27:
  157.          192|   checkAssertWarn =
  158.          193|     assertions: warnings: val:
  159.             |                           ^
  160.          194|     let
  161.  
  162.       … from call site
  163.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/asserts.nix:200:7:
  164.          199|     else
  165.          200|       showWarnings warnings val;
  166.             |       ^
  167.          201|
  168.  
  169.       … while calling 'showWarnings'
  170.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/trivial.nix:982:28:
  171.          981|
  172.          982|   showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
  173.             |                            ^
  174.          983|
  175.  
  176.       … from call site
  177.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/trivial.nix:982:33:
  178.          981|
  179.          982|   showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
  180.             |                                 ^
  181.          983|
  182.  
  183.       … while calling 'foldr'
  184.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/lists.nix:139:14:
  185.          138|   foldr =
  186.          139|     op: nul: list:
  187.             |              ^
  188.          140|     let
  189.  
  190.       … from call site
  191.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/lists.nix:144:5:
  192.          143|     in
  193.          144|     fold' 0;
  194.             |     ^
  195.          145|
  196.  
  197.       … while calling 'fold''
  198.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/lists.nix:142:15:
  199.          141|       len = length list;
  200.          142|       fold' = n: if n == len then nul else op (elemAt list n) (fold' (n + 1));
  201.             |               ^
  202.          143|     in
  203.  
  204.       … while evaluating a branch condition
  205.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/lists.nix:142:18:
  206.          141|       len = length list;
  207.          142|       fold' = n: if n == len then nul else op (elemAt list n) (fold' (n + 1));
  208.             |                  ^
  209.          143|     in
  210.  
  211.       … while calling the 'length' builtin
  212.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/lists.nix:141:13:
  213.          140|     let
  214.          141|       len = length list;
  215.             |             ^
  216.          142|       fold' = n: if n == len then nul else op (elemAt list n) (fold' (n + 1));
  217.  
  218.       … from call site
  219.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/nixos/modules/system/activation/top-level.nix:83:72:
  220.           82|   # Handle assertions and warnings
  221.           83|   baseSystemAssertWarn = lib.asserts.checkAssertWarn config.assertions config.warnings baseSystem;
  222.             |                                                                        ^
  223.           84|
  224.  
  225.       … while calling anonymous lambda
  226.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1188:17:
  227.         1187|         mapAttrs (
  228.         1188|           name: value:
  229.             |                 ^
  230.         1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  231.  
  232.       … from call site
  233.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1189:85:
  234.         1188|           name: value:
  235.         1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  236.             |                                                                                     ^
  237.         1190|         );
  238.  
  239.       … while calling anonymous lambda
  240.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:275:71:
  241.          274|           # For definitions that have an associated option
  242.          275|           declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
  243.             |                                                                       ^
  244.          276|
  245.  
  246.       … while evaluating the attribute 'value'
  247.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1118:7:
  248.         1117|     // {
  249.         1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  250.             |       ^
  251.         1119|       inherit (res.defsFinal') highestPrio;
  252.  
  253.        … while evaluating the option `warnings':
  254.  
  255.       (10 duplicate frames omitted)
  256.  
  257.       … while evaluating definitions from `/nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/nixos/modules/system/boot/systemd.nix':
  258.  
  259.        … from call site
  260.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1168:80:
  261.          1167|               }
  262.          1168|           ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  263.              |                                                                                ^
  264.          1169|         ) defs;
  265.  
  266.        … while calling 'dischargeProperties'
  267.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1308:5:
  268.          1307|   dischargeProperties =
  269.          1308|     def:
  270.              |     ^
  271.          1309|     if def._type or "" == "merge" then
  272.  
  273.        … while evaluating a branch condition
  274.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1309:5:
  275.          1308|     def:
  276.          1309|     if def._type or "" == "merge" then
  277.              |     ^
  278.          1310|       concatMap dischargeProperties def.contents
  279.  
  280.        … while evaluating the attribute 'value'
  281.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:805:21:
  282.           804|             inherit (module) file;
  283.           805|             inherit value;
  284.              |                     ^
  285.           806|           }) module.config
  286.  
  287.        … while calling the 'concatLists' builtin
  288.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/nixos/modules/system/boot/systemd.nix:494:7:
  289.           493|       in
  290.           494|       concatLists (
  291.              |       ^
  292.           495|         mapAttrsToList (
  293.  
  294.        … while calling anonymous lambda
  295.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/nixos/modules/system/boot/systemd.nix:496:17:
  296.           495|         mapAttrsToList (
  297.           496|           name: service:
  298.              |                 ^
  299.           497|           let
  300.  
  301.        … while calling the 'concatLists' builtin
  302.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/nixos/modules/system/boot/systemd.nix:502:11:
  303.           501|           in
  304.           502|           concatLists [
  305.              |           ^
  306.           503|             (optional (type == "oneshot" && (restart == "always" || restart == "on-success"))
  307.  
  308.        … from call site
  309.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/nixos/modules/system/boot/systemd.nix:503:14:
  310.           502|           concatLists [
  311.           503|             (optional (type == "oneshot" && (restart == "always" || restart == "on-success"))
  312.              |              ^
  313.           504|               "Service '${name}.service' with 'Type=oneshot' cannot have 'Restart=always' or 'Restart=on-success'"
  314.  
  315.        … while calling 'optional'
  316.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/lists.nix:777:20:
  317.           776|   */
  318.           777|   optional = cond: elem: if cond then [ elem ] else [ ];
  319.              |                    ^
  320.           778|
  321.  
  322.        … while evaluating a branch condition
  323.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/lists.nix:777:26:
  324.           776|   */
  325.           777|   optional = cond: elem: if cond then [ elem ] else [ ];
  326.              |                          ^
  327.           778|
  328.  
  329.        … in the left operand of the AND (&&) operator
  330.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/nixos/modules/system/boot/systemd.nix:503:42:
  331.           502|           concatLists [
  332.           503|             (optional (type == "oneshot" && (restart == "always" || restart == "on-success"))
  333.              |                                          ^
  334.           504|               "Service '${name}.service' with 'Type=oneshot' cannot have 'Restart=always' or 'Restart=on-success'"
  335.  
  336.        … from call site
  337.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/nixos/modules/system/boot/systemd.nix:498:20:
  338.           497|           let
  339.           498|             type = service.serviceConfig.Type or "";
  340.              |                    ^
  341.           499|             restart = service.serviceConfig.Restart or "no";
  342.  
  343.        … while calling anonymous lambda
  344.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1188:17:
  345.          1187|         mapAttrs (
  346.          1188|           name: value:
  347.              |                 ^
  348.          1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  349.  
  350.        … from call site
  351.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1189:85:
  352.          1188|           name: value:
  353.          1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  354.              |                                                                                     ^
  355.          1190|         );
  356.  
  357.        … while calling anonymous lambda
  358.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:275:71:
  359.           274|           # For definitions that have an associated option
  360.           275|           declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
  361.              |                                                                       ^
  362.           276|
  363.  
  364.        … while evaluating the attribute 'value'
  365.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1118:7:
  366.          1117|     // {
  367.          1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  368.              |       ^
  369.          1119|       inherit (res.defsFinal') highestPrio;
  370.  
  371.       … while evaluating the option `systemd.services.home-manager-v.serviceConfig':
  372.  
  373.        … while evaluating the attribute 'mergedValue'
  374.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1189:5:
  375.          1188|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  376.          1189|     mergedValue =
  377.              |     ^
  378.          1190|       if isDefined then
  379.  
  380.        … while evaluating the attribute 'value'
  381.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/types.nix:859:17:
  382.           858|                 headError = checkDefsForError check loc defs;
  383.           859|                 value = mapAttrs (
  384.              |                 ^
  385.           860|                   n: v:
  386.  
  387.        … while calling the 'mapAttrs' builtin
  388.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/types.nix:859:25:
  389.           858|                 headError = checkDefsForError check loc defs;
  390.           859|                 value = mapAttrs (
  391.              |                         ^
  392.           860|                   n: v:
  393.  
  394.        … from call site
  395.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/types.nix:853:21:
  396.           852|                     # Meaning it is less lazy
  397.           853|                     filterAttrs (n: v: v.optionalValue ? value) (
  398.              |                     ^
  399.           854|                       zipAttrsWith (name: defs: mergeDefinitions (loc ++ [ name ]) elemType defs) (pushPositions defs)
  400.  
  401.        … while calling 'filterAttrs'
  402.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:663:23:
  403.           662|   */
  404.           663|   filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
  405.              |                       ^
  406.           664|
  407.  
  408.        … while calling the 'removeAttrs' builtin
  409.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:663:28:
  410.           662|   */
  411.           663|   filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
  412.              |                            ^
  413.           664|
  414.  
  415.        … while calling the 'filter' builtin
  416.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:663:45:
  417.           662|   */
  418.           663|   filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
  419.              |                                             ^
  420.           664|
  421.  
  422.        … while calling anonymous lambda
  423.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:663:53:
  424.           662|   */
  425.           663|   filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
  426.              |                                                     ^
  427.           664|
  428.  
  429.        … in the argument of the not operator
  430.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:663:60:
  431.           662|   */
  432.           663|   filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
  433.              |                                                            ^
  434.           664|
  435.  
  436.        … from call site
  437.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:663:60:
  438.           662|   */
  439.           663|   filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
  440.              |                                                            ^
  441.           664|
  442.  
  443.        … while calling anonymous lambda
  444.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/types.nix:853:37:
  445.           852|                     # Meaning it is less lazy
  446.           853|                     filterAttrs (n: v: v.optionalValue ? value) (
  447.              |                                     ^
  448.           854|                       zipAttrsWith (name: defs: mergeDefinitions (loc ++ [ name ]) elemType defs) (pushPositions defs)
  449.  
  450.        … while evaluating the attribute 'optionalValue'
  451.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1253:5:
  452.          1252|
  453.          1253|     optionalValue = if isDefined then { value = mergedValue; } else { };
  454.              |     ^
  455.          1254|   };
  456.  
  457.        … while evaluating a branch condition
  458.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1253:21:
  459.          1252|
  460.          1253|     optionalValue = if isDefined then { value = mergedValue; } else { };
  461.              |                     ^
  462.          1254|   };
  463.  
  464.        (8 duplicate frames omitted)
  465.  
  466.        … while evaluating definitions from `/nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/nixos':
  467.  
  468.       … from call site
  469.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1168:80:
  470.         1167|               }
  471.         1168|           ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  472.             |                                                                                ^
  473.         1169|         ) defs;
  474.  
  475.       … while calling 'dischargeProperties'
  476.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1308:5:
  477.         1307|   dischargeProperties =
  478.         1308|     def:
  479.             |     ^
  480.         1309|     if def._type or "" == "merge" then
  481.  
  482.       … while evaluating a branch condition
  483.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1309:5:
  484.         1308|     def:
  485.         1309|     if def._type or "" == "merge" then
  486.             |     ^
  487.         1310|       concatMap dischargeProperties def.contents
  488.  
  489.       … while evaluating the attribute 'value'
  490.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/types.nix:800:15:
  491.          799|               inherit (def) file;
  492.          800|               value = v;
  493.             |               ^
  494.          801|             }) def.value
  495.  
  496.       … while calling the 'getAttr' builtin
  497.         at <nix/derivation-internal.nix>:50:17:
  498.           49|     value = commonAttrs // {
  499.           50|       outPath = builtins.getAttr outputName strict;
  500.             |                 ^
  501.           51|       drvPath = strict.drvPath;
  502.  
  503.       … while calling the 'derivationStrict' builtin
  504.         at <nix/derivation-internal.nix>:37:12:
  505.           36|
  506.           37|   strict = derivationStrict drvAttrs;
  507.             |            ^
  508.           38|
  509.  
  510.       … while evaluating derivation 'home-manager-generation'
  511.         whose name attribute is located at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/stdenv/generic/make-derivation.nix:544:13
  512.  
  513.       … while evaluating attribute 'buildCommand' of derivation 'home-manager-generation'
  514.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/build-support/trivial-builders/default.nix:80:17:
  515.           79|         enableParallelBuilding = true;
  516.           80|         inherit buildCommand name;
  517.             |                 ^
  518.           81|         passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]);
  519.  
  520.       … while calling the 'getAttr' builtin
  521.         at <nix/derivation-internal.nix>:50:17:
  522.           49|     value = commonAttrs // {
  523.           50|       outPath = builtins.getAttr outputName strict;
  524.             |                 ^
  525.           51|       drvPath = strict.drvPath;
  526.  
  527.       … while calling the 'derivationStrict' builtin
  528.         at <nix/derivation-internal.nix>:37:12:
  529.           36|
  530.           37|   strict = derivationStrict drvAttrs;
  531.             |            ^
  532.           38|
  533.  
  534.       … while evaluating derivation 'home-manager-files'
  535.         whose name attribute is located at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/stdenv/generic/make-derivation.nix:544:13
  536.  
  537.       … while evaluating attribute 'buildCommand' of derivation 'home-manager-files'
  538.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/build-support/trivial-builders/default.nix:80:17:
  539.           79|         enableParallelBuilding = true;
  540.           80|         inherit buildCommand name;
  541.             |                 ^
  542.           81|         passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]);
  543.  
  544.       … while calling the 'concatStringsSep' builtin
  545.         at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/files.nix:365:13:
  546.          364|           ''
  547.          365|           + lib.concatStrings (
  548.             |             ^
  549.          366|             lib.mapAttrsToList (n: v: ''
  550.  
  551.       … while calling anonymous lambda
  552.         at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/files.nix:366:36:
  553.          365|           + lib.concatStrings (
  554.          366|             lib.mapAttrsToList (n: v: ''
  555.             |                                    ^
  556.          367|               insertFile ${
  557.  
  558.       … from call site
  559.         at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/files.nix:368:17:
  560.          367|               insertFile ${
  561.          368|                 lib.escapeShellArgs [
  562.             |                 ^
  563.          369|                   (sourceStorePath v)
  564.  
  565.       … while calling 'concatMapStringsSep'
  566.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/strings.nix:261:13:
  567.          260|   concatMapStringsSep =
  568.          261|     sep: f: list:
  569.             |             ^
  570.          262|     concatStringsSep sep (map f list);
  571.  
  572.       … while calling the 'concatStringsSep' builtin
  573.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/strings.nix:262:5:
  574.          261|     sep: f: list:
  575.          262|     concatStringsSep sep (map f list);
  576.             |     ^
  577.          263|
  578.  
  579.       … while calling 'escapeShellArg'
  580.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/strings.nix:1201:5:
  581.         1200|   escapeShellArg =
  582.         1201|     arg:
  583.             |     ^
  584.         1202|     let
  585.  
  586.       … while evaluating a branch condition
  587.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/strings.nix:1205:5:
  588.         1204|     in
  589.         1205|     if match "[[:alnum:],._+:@%/-]+" string == null then
  590.             |     ^
  591.         1206|       "'${replaceString "'" "'\\''" string}'"
  592.  
  593.       … while calling the 'match' builtin
  594.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/strings.nix:1205:8:
  595.         1204|     in
  596.         1205|     if match "[[:alnum:],._+:@%/-]+" string == null then
  597.             |        ^
  598.         1206|       "'${replaceString "'" "'\\''" string}'"
  599.  
  600.       … while evaluating the second argument passed to builtins.match
  601.  
  602.       … while calling the 'toString' builtin
  603.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/strings.nix:1203:16:
  604.         1202|     let
  605.         1203|       string = toString arg;
  606.             |                ^
  607.         1204|     in
  608.  
  609.       … from call site
  610.         at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/files.nix:369:20:
  611.          368|                 lib.escapeShellArgs [
  612.          369|                   (sourceStorePath v)
  613.             |                    ^
  614.          370|                   v.target
  615.  
  616.       … while calling 'sourceStorePath'
  617.         at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/files.nix:20:5:
  618.           19|   sourceStorePath =
  619.           20|     file:
  620.             |     ^
  621.           21|     let
  622.  
  623.       … while evaluating a branch condition
  624.         at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/files.nix:25:5:
  625.           24|     in
  626.           25|     if builtins.hasContext sourcePath then
  627.             |     ^
  628.           26|       file.source
  629.  
  630.       … while calling the 'hasContext' builtin
  631.         at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/files.nix:25:8:
  632.           24|     in
  633.           25|     if builtins.hasContext sourcePath then
  634.             |        ^
  635.           26|       file.source
  636.  
  637.       … while evaluating the argument passed to builtins.hasContext
  638.  
  639.       … while calling the 'toString' builtin
  640.         at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/files.nix:22:20:
  641.           21|     let
  642.           22|       sourcePath = toString file.source;
  643.             |                    ^
  644.           23|       sourceName = config.lib.strings.storeFileName (baseNameOf sourcePath);
  645.  
  646.       … from call site
  647.         at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/files.nix:22:29:
  648.           21|     let
  649.           22|       sourcePath = toString file.source;
  650.             |                             ^
  651.           23|       sourceName = config.lib.strings.storeFileName (baseNameOf sourcePath);
  652.  
  653.       … while calling anonymous lambda
  654.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1188:17:
  655.         1187|         mapAttrs (
  656.         1188|           name: value:
  657.             |                 ^
  658.         1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  659.  
  660.       … from call site
  661.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1189:85:
  662.         1188|           name: value:
  663.         1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  664.             |                                                                                     ^
  665.         1190|         );
  666.  
  667.       … while calling anonymous lambda
  668.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:275:71:
  669.          274|           # For definitions that have an associated option
  670.          275|           declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
  671.             |                                                                       ^
  672.          276|
  673.  
  674.       … while evaluating the attribute 'value'
  675.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1118:7:
  676.         1117|     // {
  677.         1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  678.             |       ^
  679.         1119|       inherit (res.defsFinal') highestPrio;
  680.  
  681.        … while evaluating the option `home-manager.users.v.home.file."/home/v/.config/fontconfig/conf.d/10-hm-fonts.conf".source':
  682.  
  683.       (10 duplicate frames omitted)
  684.  
  685.       … while evaluating definitions from `/nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/files.nix':
  686.  
  687.        … from call site
  688.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1168:80:
  689.          1167|               }
  690.          1168|           ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  691.              |                                                                                ^
  692.          1169|         ) defs;
  693.  
  694.        … while calling 'dischargeProperties'
  695.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1308:5:
  696.          1307|   dischargeProperties =
  697.          1308|     def:
  698.              |     ^
  699.          1309|     if def._type or "" == "merge" then
  700.  
  701.        … while evaluating a branch condition
  702.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1312:7:
  703.          1311|     else if def._type or "" == "if" then
  704.          1312|       if isBool def.condition then
  705.              |       ^
  706.          1313|         if def.condition then dischargeProperties def.content else [ ]
  707.  
  708.        … while calling the 'isBool' builtin
  709.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1312:10:
  710.          1311|     else if def._type or "" == "if" then
  711.          1312|       if isBool def.condition then
  712.              |          ^
  713.          1313|         if def.condition then dischargeProperties def.content else [ ]
  714.  
  715.        … while evaluating the attribute 'condition'
  716.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1468:13:
  717.          1467|     _type = "if";
  718.          1468|     inherit condition content;
  719.              |             ^
  720.          1469|   };
  721.  
  722.        … from call site
  723.          at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/lib/file-type.nix:145:28:
  724.           144|             target = mkDefault name;
  725.           145|             source = mkIf (config.text != null) (
  726.              |                            ^
  727.           146|               mkDefault (
  728.  
  729.        … while calling anonymous lambda
  730.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1188:17:
  731.          1187|         mapAttrs (
  732.          1188|           name: value:
  733.              |                 ^
  734.          1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  735.  
  736.        … from call site
  737.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1189:85:
  738.          1188|           name: value:
  739.          1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  740.              |                                                                                     ^
  741.          1190|         );
  742.  
  743.        … while calling anonymous lambda
  744.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:275:71:
  745.           274|           # For definitions that have an associated option
  746.           275|           declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
  747.              |                                                                       ^
  748.           276|
  749.  
  750.        … while evaluating the attribute 'value'
  751.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1118:7:
  752.          1117|     // {
  753.          1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  754.              |       ^
  755.          1119|       inherit (res.defsFinal') highestPrio;
  756.  
  757.       … while evaluating the option `home-manager.users.v.home.file."/home/v/.config/fontconfig/conf.d/10-hm-fonts.conf".text':
  758.  
  759.        (10 duplicate frames omitted)
  760.  
  761.        … while evaluating definitions from `/nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/misc/xdg.nix':
  762.  
  763.       … from call site
  764.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1168:80:
  765.         1167|               }
  766.         1168|           ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  767.             |                                                                                ^
  768.         1169|         ) defs;
  769.  
  770.       … while calling 'dischargeProperties'
  771.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1308:5:
  772.         1307|   dischargeProperties =
  773.         1308|     def:
  774.             |     ^
  775.         1309|     if def._type or "" == "merge" then
  776.  
  777.       … while evaluating a branch condition
  778.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1309:5:
  779.         1308|     def:
  780.         1309|     if def._type or "" == "merge" then
  781.             |     ^
  782.         1310|       concatMap dischargeProperties def.contents
  783.  
  784.       … while evaluating the attribute 'value'
  785.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:805:21:
  786.          804|             inherit (module) file;
  787.          805|             inherit value;
  788.             |                     ^
  789.          806|           }) module.config
  790.  
  791.       … from call site
  792.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:805:21:
  793.          804|             inherit (module) file;
  794.          805|             inherit value;
  795.             |                     ^
  796.          806|           }) module.config
  797.  
  798.       … while calling anonymous lambda
  799.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1188:17:
  800.         1187|         mapAttrs (
  801.         1188|           name: value:
  802.             |                 ^
  803.         1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  804.  
  805.       … from call site
  806.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1189:85:
  807.         1188|           name: value:
  808.         1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  809.             |                                                                                     ^
  810.         1190|         );
  811.  
  812.       … while calling anonymous lambda
  813.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:275:71:
  814.          274|           # For definitions that have an associated option
  815.          275|           declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
  816.             |                                                                       ^
  817.          276|
  818.  
  819.       … while evaluating the attribute 'value'
  820.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1118:7:
  821.         1117|     // {
  822.         1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  823.             |       ^
  824.         1119|       inherit (res.defsFinal') highestPrio;
  825.  
  826.        … while evaluating the option `home-manager.users.v.xdg.configFile."fontconfig/conf.d/10-hm-fonts.conf".text':
  827.  
  828.       (10 duplicate frames omitted)
  829.  
  830.       … while evaluating definitions from `/nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/misc/fontconfig.nix':
  831.  
  832.        … from call site
  833.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1168:80:
  834.          1167|               }
  835.          1168|           ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  836.              |                                                                                ^
  837.          1169|         ) defs;
  838.  
  839.        … while calling 'dischargeProperties'
  840.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1308:5:
  841.          1307|   dischargeProperties =
  842.          1308|     def:
  843.              |     ^
  844.          1309|     if def._type or "" == "merge" then
  845.  
  846.        … while evaluating a branch condition
  847.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1309:5:
  848.          1308|     def:
  849.          1309|     if def._type or "" == "merge" then
  850.              |     ^
  851.          1310|       concatMap dischargeProperties def.contents
  852.  
  853.        … while evaluating the attribute 'value'
  854.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:805:21:
  855.           804|             inherit (module) file;
  856.           805|             inherit value;
  857.              |                     ^
  858.           806|           }) module.config
  859.  
  860.        … from call site
  861.          at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/misc/fontconfig.nix:342:33:
  862.           341|       lib.nameValuePair "fontconfig/conf.d/${builtins.toString config.priority}-hm-${config.label}.conf" {
  863.           342|         inherit (config) enable text;
  864.              |                                 ^
  865.           343|         source = lib.mkIf (config.source != null) config.source;
  866.  
  867.        … while calling anonymous lambda
  868.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1188:17:
  869.          1187|         mapAttrs (
  870.          1188|           name: value:
  871.              |                 ^
  872.          1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  873.  
  874.        … from call site
  875.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1189:85:
  876.          1188|           name: value:
  877.          1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  878.              |                                                                                     ^
  879.          1190|         );
  880.  
  881.        … while calling anonymous lambda
  882.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:275:71:
  883.           274|           # For definitions that have an associated option
  884.           275|           declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
  885.              |                                                                       ^
  886.           276|
  887.  
  888.        … while evaluating the attribute 'value'
  889.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1118:7:
  890.          1117|     // {
  891.          1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  892.              |       ^
  893.          1119|       inherit (res.defsFinal') highestPrio;
  894.  
  895.       … while evaluating the option `home-manager.users.v.fonts.fontconfig.configFile.fonts.text':
  896.  
  897.        (15 duplicate frames omitted)
  898.  
  899.        … from call site
  900.          at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/misc/fontconfig.nix:256:18:
  901.           255|           source = null; # Set the source as null explicitly so that it cannot be overwritten by mistake by a user
  902.           256|           text = mkFontconfigConf ''
  903.              |                  ^
  904.           257|             <description>Add fonts in the Nix user profile</description>
  905.  
  906.        … while calling 'mkFontconfigConf'
  907.          at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/misc/fontconfig.nix:240:28:
  908.           239|       let
  909.           240|         mkFontconfigConf = conf: ''
  910.              |                            ^
  911.           241|           <?xml version='1.0'?>
  912.  
  913.        … while calling the 'getAttr' builtin
  914.          at <nix/derivation-internal.nix>:50:17:
  915.            49|     value = commonAttrs // {
  916.            50|       outPath = builtins.getAttr outputName strict;
  917.              |                 ^
  918.            51|       drvPath = strict.drvPath;
  919.  
  920.        … while calling the 'derivationStrict' builtin
  921.          at <nix/derivation-internal.nix>:37:12:
  922.            36|
  923.            37|   strict = derivationStrict drvAttrs;
  924.              |            ^
  925.            38|
  926.  
  927.        … while evaluating derivation 'home-manager-path'
  928.          whose name attribute is located at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/stdenv/generic/make-derivation.nix:544:13
  929.  
  930.        … while evaluating attribute 'passAsFile' of derivation 'home-manager-path'
  931.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/build-support/trivial-builders/default.nix:81:9:
  932.            80|         inherit buildCommand name;
  933.            81|         passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]);
  934.              |         ^
  935.            82|       }
  936.  
  937.        … while evaluating the attribute 'passAsFile'
  938.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/build-support/buildenv/default.nix:113:9:
  939.           112|         # XXX: The size is somewhat arbitrary
  940.           113|         passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
  941.              |         ^
  942.           114|       }
  943.  
  944.        … while evaluating a branch condition
  945.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/build-support/buildenv/default.nix:113:22:
  946.           112|         # XXX: The size is somewhat arbitrary
  947.           113|         passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
  948.              |                      ^
  949.           114|       }
  950.  
  951.        … in the argument of the not operator
  952.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/build-support/buildenv/default.nix:113:52:
  953.           112|         # XXX: The size is somewhat arbitrary
  954.           113|         passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
  955.              |                                                    ^
  956.           114|       }
  957.  
  958.        … while calling the 'lessThan' builtin
  959.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/build-support/buildenv/default.nix:113:52:
  960.           112|         # XXX: The size is somewhat arbitrary
  961.           113|         passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
  962.              |                                                    ^
  963.           114|       }
  964.  
  965.        … while calling the 'stringLength' builtin
  966.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/build-support/buildenv/default.nix:113:25:
  967.           112|         # XXX: The size is somewhat arbitrary
  968.           113|         passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
  969.              |                         ^
  970.           114|       }
  971.  
  972.        … while calling the 'toJSON' builtin
  973.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/build-support/buildenv/default.nix:108:16:
  974.           107|           ;
  975.           108|         pkgs = builtins.toJSON chosenOutputs;
  976.              |                ^
  977.           109|         extraPathsFrom = lib.optional includeClosures (writeClosure pathsForClosure);
  978.  
  979.        … while calling the 'map' builtin
  980.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/build-support/buildenv/default.nix:67:21:
  981.            66|   let
  982.            67|     chosenOutputs = map (drv: {
  983.              |                     ^
  984.            68|       paths =
  985.  
  986.        … from call site
  987.          at /nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/modules/home-environment.nix:898:15:
  988.           897|
  989.           898|       paths = cfg.packages;
  990.              |               ^
  991.           899|       inherit (cfg) extraOutputsToInstall;
  992.  
  993.        … while calling anonymous lambda
  994.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1188:17:
  995.          1187|         mapAttrs (
  996.          1188|           name: value:
  997.              |                 ^
  998.          1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  999.  
  1000.        … from call site
  1001.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1189:85:
  1002.          1188|           name: value:
  1003.          1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  1004.              |                                                                                     ^
  1005.          1190|         );
  1006.  
  1007.        … while calling anonymous lambda
  1008.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:275:71:
  1009.           274|           # For definitions that have an associated option
  1010.           275|           declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
  1011.              |                                                                       ^
  1012.           276|
  1013.  
  1014.        … while evaluating the attribute 'value'
  1015.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1118:7:
  1016.          1117|     // {
  1017.          1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  1018.              |       ^
  1019.          1119|       inherit (res.defsFinal') highestPrio;
  1020.  
  1021.       … while evaluating the option `home-manager.users.v.home.packages':
  1022.  
  1023.        … while evaluating the attribute 'mergedValue'
  1024.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1189:5:
  1025.          1188|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  1026.          1189|     mergedValue =
  1027.              |     ^
  1028.          1190|       if isDefined then
  1029.  
  1030.        … while evaluating the attribute 'value'
  1031.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/types.nix:750:17:
  1032.           749|                 headError = checkDefsForError check loc defs;
  1033.           750|                 value = map (x: x.optionalValue.value or x.mergedValue) evals;
  1034.              |                 ^
  1035.           751|                 valueMeta.list = map (v: v.checkedAndMerged.valueMeta) evals;
  1036.  
  1037.        … while calling the 'map' builtin
  1038.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/types.nix:750:25:
  1039.           749|                 headError = checkDefsForError check loc defs;
  1040.           750|                 value = map (x: x.optionalValue.value or x.mergedValue) evals;
  1041.              |                         ^
  1042.           751|                 valueMeta.list = map (v: v.checkedAndMerged.valueMeta) evals;
  1043.  
  1044.        … while calling the 'filter' builtin
  1045.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/types.nix:731:25:
  1046.           730|               let
  1047.           731|                 evals = filter (x: x.optionalValue ? value) (
  1048.              |                         ^
  1049.           732|                   concatLists (
  1050.  
  1051.        … while calling anonymous lambda
  1052.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/types.nix:731:33:
  1053.           730|               let
  1054.           731|                 evals = filter (x: x.optionalValue ? value) (
  1055.              |                                 ^
  1056.           732|                   concatLists (
  1057.  
  1058.        (10 duplicate frames omitted)
  1059.  
  1060.        … while evaluating definitions from `/nix/store/ksd7fcgrxjqfc8g9gha24mw7w427ihz0-source/nixos/common.nix':
  1061.  
  1062.       … from call site
  1063.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1168:80:
  1064.         1167|               }
  1065.         1168|           ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  1066.             |                                                                                ^
  1067.         1169|         ) defs;
  1068.  
  1069.       … while calling 'dischargeProperties'
  1070.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1308:5:
  1071.         1307|   dischargeProperties =
  1072.         1308|     def:
  1073.             |     ^
  1074.         1309|     if def._type or "" == "merge" then
  1075.  
  1076.       … while evaluating a branch condition
  1077.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1309:5:
  1078.         1308|     def:
  1079.         1309|     if def._type or "" == "merge" then
  1080.             |     ^
  1081.         1310|       concatMap dischargeProperties def.contents
  1082.  
  1083.       … while evaluating the attribute 'value'
  1084.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/types.nix:740:29:
  1085.          739|                             inherit (def) file;
  1086.          740|                             value = def';
  1087.             |                             ^
  1088.          741|                           }
  1089.  
  1090.       … while calling the 'elemAt' builtin
  1091.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/lists.nix:345:43:
  1092.          344|   */
  1093.          345|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
  1094.             |                                           ^
  1095.          346|
  1096.  
  1097.       … from call site
  1098.         at /nix/store/kva0q0xs4mkcrzr903lv8cz5y6f4n8yw-source/flake.nix:59:31:
  1099.           58|
  1100.           59|             home.packages = [ cfg.package ];
  1101.             |                               ^
  1102.           60|           };
  1103.  
  1104.       … while calling anonymous lambda
  1105.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1188:17:
  1106.         1187|         mapAttrs (
  1107.         1188|           name: value:
  1108.             |                 ^
  1109.         1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  1110.  
  1111.       … from call site
  1112.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/attrsets.nix:1189:85:
  1113.         1188|           name: value:
  1114.         1189|           if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  1115.             |                                                                                     ^
  1116.         1190|         );
  1117.  
  1118.       … while calling anonymous lambda
  1119.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:275:71:
  1120.          274|           # For definitions that have an associated option
  1121.          275|           declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
  1122.             |                                                                       ^
  1123.          276|
  1124.  
  1125.       … while evaluating the attribute 'value'
  1126.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1118:7:
  1127.         1117|     // {
  1128.         1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  1129.             |       ^
  1130.         1119|       inherit (res.defsFinal') highestPrio;
  1131.  
  1132.        … while evaluating the option `home-manager.users.v.auto_redshift.package':
  1133.  
  1134.       … while evaluating the attribute 'mergedValue'
  1135.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1189:5:
  1136.         1188|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  1137.         1189|     mergedValue =
  1138.             |     ^
  1139.         1190|       if isDefined then
  1140.  
  1141.       … while evaluating a branch condition
  1142.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1190:7:
  1143.         1189|     mergedValue =
  1144.         1190|       if isDefined then
  1145.             |       ^
  1146.         1191|         if type.merge ? v2 then
  1147.  
  1148.       … while evaluating the attribute 'values'
  1149.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1183:9:
  1150.         1182|       {
  1151.         1183|         values = defsSorted;
  1152.             |         ^
  1153.         1184|         inherit (defsFiltered) highestPrio;
  1154.  
  1155.       … while evaluating a branch condition
  1156.         at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1177:11:
  1157.         1176|           # Avoid sorting if we don't have to.
  1158.          1177|           if any (def: def.value._type or "" == "order") defsFiltered.values then
  1159.              |           ^
  1160.          1178|             sortProperties defsFiltered.values
  1161.  
  1162.        … while calling the 'any' builtin
  1163.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1177:14:
  1164.          1176|           # Avoid sorting if we don't have to.
  1165.          1177|           if any (def: def.value._type or "" == "order") defsFiltered.values then
  1166.              |              ^
  1167.          1178|             sortProperties defsFiltered.values
  1168.  
  1169.        … while calling anonymous lambda
  1170.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1177:19:
  1171.          1176|           # Avoid sorting if we don't have to.
  1172.          1177|           if any (def: def.value._type or "" == "order") defsFiltered.values then
  1173.              |                   ^
  1174.          1178|             sortProperties defsFiltered.values
  1175.  
  1176.        … while evaluating the attribute 'value._type'
  1177.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1354:67:
  1178.          1353|       strip =
  1179.          1354|         def: if def.value._type or "" == "override" then def // { value = def.value.content; } else def;
  1180.              |                                                                   ^
  1181.          1355|     in
  1182.  
  1183.        … while evaluating the attribute 'value.content'
  1184.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/lib/modules.nix:1487:22:
  1185.          1486|     _type = "override";
  1186.          1487|     inherit priority content;
  1187.              |                      ^
  1188.          1488|   };
  1189.  
  1190.        … while evaluating the attribute 'default'
  1191.          at /nix/store/kva0q0xs4mkcrzr903lv8cz5y6f4n8yw-source/flake.nix:30:15:
  1192.            29|               type = package;
  1193.            30|               default = self.packages.${pkgs.system}.default;
  1194.              |               ^
  1195.            31|               description = "The package to use.";
  1196.  
  1197.        … while evaluating the attribute 'packages."${(pkgs).system}".default'
  1198.          at /nix/store/kva0q0xs4mkcrzr903lv8cz5y6f4n8yw-source/flake.nix:14:7:
  1199.            13|     in {
  1200.            14|       packages = forAllSystems (system: {
  1201.              |       ^
  1202.            15|         default = pkgsFor.${system}.callPackage ./default.nix { };
  1203.  
  1204.        … from call site
  1205.          at /nix/store/kva0q0xs4mkcrzr903lv8cz5y6f4n8yw-source/flake.nix:30:41:
  1206.            29|               type = package;
  1207.            30|               default = self.packages.${pkgs.system}.default;
  1208.              |                                         ^
  1209.            31|               description = "The package to use.";
  1210.  
  1211.        … while calling anonymous lambda
  1212.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/top-level/aliases.nix:219:31:
  1213.           218|   mapAliases =
  1214.           219|     aliases: lib.mapAttrs (n: alias: removeRecurseForDerivations (checkInPkgs n alias)) aliases;
  1215.              |                               ^
  1216.           220|
  1217.  
  1218.        … from call site
  1219.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/top-level/aliases.nix:219:38:
  1220.           218|   mapAliases =
  1221.           219|     aliases: lib.mapAttrs (n: alias: removeRecurseForDerivations (checkInPkgs n alias)) aliases;
  1222.              |                                      ^
  1223.           220|
  1224.  
  1225.        … while calling 'removeRecurseForDerivations'
  1226.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/top-level/aliases.nix:26:5:
  1227.            25|   removeRecurseForDerivations =
  1228.            26|     alias:
  1229.              |     ^
  1230.            27|     if alias.recurseForDerivations or false then
  1231.  
  1232.        … while evaluating a branch condition
  1233.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/top-level/aliases.nix:27:5:
  1234.            26|     alias:
  1235.            27|     if alias.recurseForDerivations or false then
  1236.              |     ^
  1237.            28|       lib.removeAttrs alias [ "recurseForDerivations" ]
  1238.  
  1239.        … from call site
  1240.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/top-level/aliases.nix:219:67:
  1241.           218|   mapAliases =
  1242.           219|     aliases: lib.mapAttrs (n: alias: removeRecurseForDerivations (checkInPkgs n alias)) aliases;
  1243.              |                                                                   ^
  1244.           220|
  1245.  
  1246.        … while calling 'checkInPkgs'
  1247.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/top-level/aliases.nix:215:8:
  1248.           214|   checkInPkgs =
  1249.           215|     n: alias:
  1250.              |        ^
  1251.           216|     if builtins.hasAttr n super then abort "Alias ${n} is still in all-packages.nix" else alias;
  1252.  
  1253.        … from call site
  1254.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/top-level/aliases.nix:1437:12:
  1255.          1436|   syndicate_utils = throw "'syndicate_utils' has been removed due to a hostile upstream moving tags and breaking src FODs"; # Added 2025-09-01
  1256.          1437|   system = warnAlias "'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'" stdenv.hostPlatform.system; # Converted to warning 2025-10-28
  1257.              |            ^
  1258.          1438|   t1lib = throw "'t1lib' has been removed as it was broken and unmaintained upstream."; # Added 2025-06-11
  1259.  
  1260.        … while calling 'warnAlias'
  1261.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/top-level/aliases.nix:224:10:
  1262.           223|   warnAlias =
  1263.           224|     msg: v:
  1264.              |          ^
  1265.           225|     if lib.isDerivation v then
  1266.  
  1267.        … while calling the 'warn' builtin
  1268.          at /nix/store/xjjq52iwslhz6lbc621a31v0nfdhr5ks-source/pkgs/top-level/aliases.nix:241:7:
  1269.           240|       # not common.
  1270.           241|       lib.warn msg v;
  1271.              |       ^
  1272.           242| in
  1273.  
  1274.        error: aborting to reveal stack trace of warning, as abort-on-warn is set
  1275. Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '/home/v/nix#nixosConfigurations."v-laptop".config.system.build.toplevel' --option abort-on-warn true --show-trace --impure --no-link' returned non-zero exit status 1.
  1276. 1 ❌                                                                                                                          ~/nix master [!]   + 3s 16:44:29
  1277.  
Advertisement
Add Comment
Please, Sign In to add comment