Advertisement
Guest User

Untitled

a guest
Aug 10th, 2024
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.45 KB | Help | 0 0
  1. building the system configuration...
  2. error:
  3. … while calling anonymous lambda
  4.  
  5. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1571:24:
  6.  
  7. 1570| let f = attrPath:
  8. 1571| zipAttrsWith (n: values:
  9. | ^
  10. 1572| let here = attrPath ++ [n]; in
  11.  
  12. … while calling anonymous lambda
  13.  
  14. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1205:18:
  15.  
  16. 1204| mapAttrs
  17. 1205| (name: value:
  18. | ^
  19. 1206| if isAttrs value && cond value
  20.  
  21. … from call site
  22.  
  23. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1208:18:
  24.  
  25. 1207| then recurse (path ++ [ name ]) value
  26. 1208| else f (path ++ [ name ]) value);
  27. | ^
  28. 1209| in
  29.  
  30. … while calling anonymous lambda
  31.  
  32. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:242:72:
  33.  
  34. 241| # For definitions that have an associated option
  35. 242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  36. | ^
  37. 243|
  38.  
  39. … while evaluating the option `system.build.toplevel':
  40.  
  41. … while calling anonymous lambda
  42.  
  43. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:824:28:
  44.  
  45. 823| # Process mkMerge and mkIf properties.
  46. 824| defs' = concatMap (m:
  47. | ^
  48. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  49.  
  50. … while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix':
  51.  
  52. … from call site
  53.  
  54. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:825:137:
  55.  
  56. 824| defs' = concatMap (m:
  57. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  58. | ^
  59. 826| ) defs;
  60.  
  61. … while calling 'dischargeProperties'
  62.  
  63. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:896:25:
  64.  
  65. 895| */
  66. 896| dischargeProperties = def:
  67. | ^
  68. 897| if def._type or "" == "merge" then
  69.  
  70. … from call site
  71.  
  72. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:71:12:
  73.  
  74. 70| # Replace runtime dependencies
  75. 71| system = foldr ({ oldDependency, newDependency }: drv:
  76. | ^
  77. 72| pkgs.replaceDependency { inherit oldDependency newDependency drv; }
  78.  
  79. … while calling 'foldr'
  80.  
  81. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:121:20:
  82.  
  83. 120| */
  84. 121| foldr = op: nul: list:
  85. | ^
  86. 122| let
  87.  
  88. … from call site
  89.  
  90. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:128:8:
  91.  
  92. 127| else op (elemAt list n) (fold' (n + 1));
  93. 128| in fold' 0;
  94. | ^
  95. 129|
  96.  
  97. … while calling 'fold''
  98.  
  99. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:124:15:
  100.  
  101. 123| len = length list;
  102. 124| fold' = n:
  103. | ^
  104. 125| if n == len
  105.  
  106. … from call site
  107.  
  108. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:68:10:
  109.  
  110. 67| then throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}"
  111. 68| else showWarnings config.warnings baseSystem;
  112. | ^
  113. 69|
  114.  
  115. … while calling 'showWarnings'
  116.  
  117. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:867:28:
  118.  
  119. 866|
  120. 867| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
  121. | ^
  122. 868|
  123.  
  124. … from call site
  125.  
  126. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:867:33:
  127.  
  128. 866|
  129. 867| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
  130. | ^
  131. 868|
  132.  
  133. … while calling 'foldr'
  134.  
  135. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:121:20:
  136.  
  137. 120| */
  138. 121| foldr = op: nul: list:
  139. | ^
  140. 122| let
  141.  
  142. … from call site
  143.  
  144. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:128:8:
  145.  
  146. 127| else op (elemAt list n) (fold' (n + 1));
  147. 128| in fold' 0;
  148. | ^
  149. 129|
  150.  
  151. … while calling 'fold''
  152.  
  153. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:124:15:
  154.  
  155. 123| len = length list;
  156. 124| fold' = n:
  157. | ^
  158. 125| if n == len
  159.  
  160. … from call site
  161.  
  162. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:48:16:
  163.  
  164. 47| # makes it bootable. See `activatable-system.nix`.
  165. 48| baseSystem = pkgs.stdenvNoCC.mkDerivation ({
  166. | ^
  167. 49| name = "nixos-system-${config.system.name}-${config.system.nixos.label}";
  168.  
  169. … while calling 'mkDerivation'
  170.  
  171. at /nix/store/52jak39z5kw4w2ywnv4zf5wjndvk76mh-nixos-24.05/nixos/pkgs/stdenv/generic/make-derivation.nix:46:5:
  172.  
  173. 45| mkDerivation =
  174. 46| fnOrAttrs:
  175. | ^
  176. 47| if builtins.isFunction fnOrAttrs
  177.  
  178. … while calling anonymous lambda
  179.  
  180. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1205:18:
  181.  
  182. 1204| mapAttrs
  183. 1205| (name: value:
  184. | ^
  185. 1206| if isAttrs value && cond value
  186.  
  187. … from call site
  188.  
  189. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1208:18:
  190.  
  191. 1207| then recurse (path ++ [ name ]) value
  192. 1208| else f (path ++ [ name ]) value);
  193. | ^
  194. 1209| in
  195.  
  196. … while calling anonymous lambda
  197.  
  198. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:242:72:
  199.  
  200. 241| # For definitions that have an associated option
  201. 242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  202. | ^
  203. 243|
  204.  
  205. … while evaluating the option `system.systemBuilderArgs':
  206.  
  207. … from call site
  208.  
  209. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:846:59:
  210.  
  211. 845| if isDefined then
  212. 846| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
  213. | ^
  214. 847| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
  215.  
  216. … while calling 'merge'
  217.  
  218. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:583:20:
  219.  
  220. 582| check = isAttrs;
  221. 583| merge = loc: defs:
  222. | ^
  223. 584| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
  224.  
  225. … from call site
  226.  
  227. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:584:35:
  228.  
  229. 583| merge = loc: defs:
  230. 584| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
  231. | ^
  232. 585| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
  233.  
  234. … while calling 'filterAttrs'
  235.  
  236. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:646:5:
  237.  
  238. 645| pred:
  239. 646| set:
  240. | ^
  241. 647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
  242.  
  243. … while calling anonymous lambda
  244.  
  245. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:647:29:
  246.  
  247. 646| set:
  248. 647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
  249. | ^
  250. 648|
  251.  
  252. … from call site
  253.  
  254. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:647:62:
  255.  
  256. 646| set:
  257. 647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
  258. | ^
  259. 648|
  260.  
  261. … while calling anonymous lambda
  262.  
  263. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:584:51:
  264.  
  265. 583| merge = loc: defs:
  266. 584| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
  267. | ^
  268. 585| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
  269.  
  270. … while calling anonymous lambda
  271.  
  272. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:584:86:
  273.  
  274. 583| merge = loc: defs:
  275. 584| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
  276. | ^
  277. 585| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
  278.  
  279. … while calling anonymous lambda
  280.  
  281. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:824:28:
  282.  
  283. 823| # Process mkMerge and mkIf properties.
  284. 824| defs' = concatMap (m:
  285. | ^
  286. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  287.  
  288. … while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activatable-system.nix':
  289.  
  290. … from call site
  291.  
  292. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:825:137:
  293.  
  294. 824| defs' = concatMap (m:
  295. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  296. | ^
  297. 826| ) defs;
  298.  
  299. … while calling 'dischargeProperties'
  300.  
  301. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:896:25:
  302.  
  303. 895| */
  304. 896| dischargeProperties = def:
  305. | ^
  306. 897| if def._type or "" == "merge" then
  307.  
  308. … from call site
  309.  
  310. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activation-script.nix:133:18:
  311.  
  312. 132| apply = set: set // {
  313. 133| script = systemActivationScript set false;
  314. | ^
  315. 134| };
  316.  
  317. … while calling 'systemActivationScript'
  318.  
  319. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activation-script.nix:20:33:
  320.  
  321. 19|
  322. 20| systemActivationScript = set: onlyDry: let
  323. | ^
  324. 21| set' = mapAttrs (_: v: if isString v then (noDepEntry v) // { supportsDryActivation = false; } else v) set;
  325.  
  326. … from call site
  327.  
  328. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activation-script.nix:49:9:
  329.  
  330. 48|
  331. 49| ${textClosureMap id (withDrySnippets) (attrNames withDrySnippets)}
  332. | ^
  333. 50|
  334.  
  335. … while calling 'textClosureMap'
  336.  
  337. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/strings-with-deps.nix:75:35:
  338.  
  339. 74|
  340. 75| textClosureMap = f: predefined: names:
  341. | ^
  342. 76| concatStringsSep "\n" (map f (textClosureList predefined names));
  343.  
  344. … while calling 'id'
  345.  
  346. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:36:8:
  347.  
  348. 35| */
  349. 36| id = x: x;
  350. | ^
  351. 37|
  352.  
  353. … while calling anonymous lambda
  354.  
  355. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1205:18:
  356.  
  357. 1204| mapAttrs
  358. 1205| (name: value:
  359. | ^
  360. 1206| if isAttrs value && cond value
  361.  
  362. … from call site
  363.  
  364. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1208:18:
  365.  
  366. 1207| then recurse (path ++ [ name ]) value
  367. 1208| else f (path ++ [ name ]) value);
  368. | ^
  369. 1209| in
  370.  
  371. … while calling anonymous lambda
  372.  
  373. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:242:72:
  374.  
  375. 241| # For definitions that have an associated option
  376. 242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  377. | ^
  378. 243|
  379.  
  380. … while evaluating the option `system.activationScripts.etc.text':
  381.  
  382. … while calling anonymous lambda
  383.  
  384. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:824:28:
  385.  
  386. 823| # Process mkMerge and mkIf properties.
  387. 824| defs' = concatMap (m:
  388. | ^
  389. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  390.  
  391. … while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/etc/etc-activation.nix':
  392.  
  393. … from call site
  394.  
  395. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:825:137:
  396.  
  397. 824| defs' = concatMap (m:
  398. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  399. | ^
  400. 826| ) defs;
  401.  
  402. … while calling 'dischargeProperties'
  403.  
  404. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:896:25:
  405.  
  406. 895| */
  407. 896| dischargeProperties = def:
  408. | ^
  409. 897| if def._type or "" == "merge" then
  410.  
  411. … while calling anonymous lambda
  412.  
  413. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1571:24:
  414.  
  415. 1570| let f = attrPath:
  416. 1571| zipAttrsWith (n: values:
  417. | ^
  418. 1572| let here = attrPath ++ [n]; in
  419.  
  420. … while calling anonymous lambda
  421.  
  422. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:608:29:
  423.  
  424. 607| merge = loc: defs:
  425. 608| zipAttrsWith (name: defs:
  426. | ^
  427. 609| let merged = mergeDefinitions (loc ++ [name]) elemType defs;
  428.  
  429. … while calling anonymous lambda
  430.  
  431. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:824:28:
  432.  
  433. 823| # Process mkMerge and mkIf properties.
  434. 824| defs' = concatMap (m:
  435. | ^
  436. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  437.  
  438. … while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/etc/etc.nix':
  439.  
  440. … from call site
  441.  
  442. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:825:137:
  443.  
  444. 824| defs' = concatMap (m:
  445. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  446. | ^
  447. 826| ) defs;
  448.  
  449. … while calling 'dischargeProperties'
  450.  
  451. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:896:25:
  452.  
  453. 895| */
  454. 896| dischargeProperties = def:
  455. | ^
  456. 897| if def._type or "" == "merge" then
  457.  
  458. … from call site
  459.  
  460. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:273:39:
  461.  
  462. 272| then value
  463. 273| else { ${elemAt attrPath n} = atDepth (n + 1); };
  464. | ^
  465. 274| in atDepth 0;
  466.  
  467. … while calling 'atDepth'
  468.  
  469. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:270:17:
  470.  
  471. 269| len = length attrPath;
  472. 270| atDepth = n:
  473. | ^
  474. 271| if n == len
  475.  
  476. … while evaluating derivation 'etc'
  477. whose name attribute is located at /nix/store/52jak39z5kw4w2ywnv4zf5wjndvk76mh-nixos-24.05/nixos/pkgs/stdenv/generic/make-derivation.nix:333:7
  478.  
  479. … while evaluating attribute 'buildCommand' of derivation 'etc'
  480.  
  481. at /nix/store/52jak39z5kw4w2ywnv4zf5wjndvk76mh-nixos-24.05/nixos/pkgs/build-support/trivial-builders/default.nix:68:16:
  482.  
  483. 67| enableParallelBuilding = true;
  484. 68| inherit buildCommand name;
  485. | ^
  486. 69| passAsFile = [ "buildCommand" ]
  487.  
  488. … from call site
  489.  
  490. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/etc/etc.nix:54:7:
  491.  
  492. 53| mkdir -p "$out/etc"
  493. 54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
  494. | ^
  495. 55| "makeEtcEntry"
  496.  
  497. … while calling 'concatMapStringsSep'
  498.  
  499. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/strings.nix:116:5:
  500.  
  501. 115| # List of input strings
  502. 116| list: concatStringsSep sep (map f list);
  503. | ^
  504. 117|
  505.  
  506. … while calling anonymous lambda
  507.  
  508. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/etc/etc.nix:54:33:
  509.  
  510. 53| mkdir -p "$out/etc"
  511. 54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
  512. | ^
  513. 55| "makeEtcEntry"
  514.  
  515. … from call site
  516.  
  517. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/etc/etc.nix:54:43:
  518.  
  519. 53| mkdir -p "$out/etc"
  520. 54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
  521. | ^
  522. 55| "makeEtcEntry"
  523.  
  524. … while calling 'concatMapStringsSep'
  525.  
  526. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/strings.nix:116:5:
  527.  
  528. 115| # List of input strings
  529. 116| list: concatStringsSep sep (map f list);
  530. | ^
  531. 117|
  532.  
  533. … while calling 'escapeShellArg'
  534.  
  535. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/strings.nix:454:20:
  536.  
  537. 453| */
  538. 454| escapeShellArg = arg: "'${replaceStrings ["'"] ["'\\''"] (toString arg)}'";
  539. | ^
  540. 455|
  541.  
  542. … while calling anonymous lambda
  543.  
  544. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1205:18:
  545.  
  546. 1204| mapAttrs
  547. 1205| (name: value:
  548. | ^
  549. 1206| if isAttrs value && cond value
  550.  
  551. … from call site
  552.  
  553. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1208:18:
  554.  
  555. 1207| then recurse (path ++ [ name ]) value
  556. 1208| else f (path ++ [ name ]) value);
  557. | ^
  558. 1209| in
  559.  
  560. … while calling anonymous lambda
  561.  
  562. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:242:72:
  563.  
  564. 241| # For definitions that have an associated option
  565. 242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  566. | ^
  567. 243|
  568.  
  569. … while evaluating the option `environment.etc."systemd/user".source':
  570.  
  571. … while calling anonymous lambda
  572.  
  573. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:846:17:
  574.  
  575. 845| if isDefined then
  576. 846| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
  577. | ^
  578. 847| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
  579.  
  580. … from call site
  581.  
  582. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:846:22:
  583.  
  584. 845| if isDefined then
  585. 846| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
  586. | ^
  587. 847| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
  588.  
  589. … while calling 'check'
  590.  
  591. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:535:15:
  592.  
  593. 534| descriptionClass = "noun";
  594. 535| check = x: isStringLike x && builtins.substring 0 1 (toString x) == "/";
  595. | ^
  596. 536| merge = mergeEqualOption;
  597.  
  598. … while evaluating derivation 'user-units'
  599. whose name attribute is located at /nix/store/52jak39z5kw4w2ywnv4zf5wjndvk76mh-nixos-24.05/nixos/pkgs/stdenv/generic/make-derivation.nix:333:7
  600.  
  601. … while evaluating attribute 'buildCommand' of derivation 'user-units'
  602.  
  603. at /nix/store/52jak39z5kw4w2ywnv4zf5wjndvk76mh-nixos-24.05/nixos/pkgs/build-support/trivial-builders/default.nix:68:16:
  604.  
  605. 67| enableParallelBuilding = true;
  606. 68| inherit buildCommand name;
  607. | ^
  608. 69| passAsFile = [ "buildCommand" ]
  609.  
  610. … while evaluating derivation 'unit-spotifyd.service'
  611. whose name attribute is located at /nix/store/52jak39z5kw4w2ywnv4zf5wjndvk76mh-nixos-24.05/nixos/pkgs/stdenv/generic/make-derivation.nix:333:7
  612.  
  613. … while evaluating attribute 'text' of derivation 'unit-spotifyd.service'
  614.  
  615. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/systemd-lib.nix:69:11:
  616.  
  617. 68| # making the mv operation fail.
  618. 69| text = optionalString (unit.text != null) unit.text;
  619. | ^
  620. 70| passAsFile = [ "text" ];
  621.  
  622. … from call site
  623.  
  624. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/systemd-lib.nix:69:18:
  625.  
  626. 68| # making the mv operation fail.
  627. 69| text = optionalString (unit.text != null) unit.text;
  628. | ^
  629. 70| passAsFile = [ "text" ];
  630.  
  631. … while calling 'optionalString'
  632.  
  633. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/strings.nix:268:5:
  634.  
  635. 267| # String to return if condition is true
  636. 268| string: if cond then string else "";
  637. | ^
  638. 269|
  639.  
  640. … while calling anonymous lambda
  641.  
  642. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1205:18:
  643.  
  644. 1204| mapAttrs
  645. 1205| (name: value:
  646. | ^
  647. 1206| if isAttrs value && cond value
  648.  
  649. … from call site
  650.  
  651. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1208:18:
  652.  
  653. 1207| then recurse (path ++ [ name ]) value
  654. 1208| else f (path ++ [ name ]) value);
  655. | ^
  656. 1209| in
  657.  
  658. … while calling anonymous lambda
  659.  
  660. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:242:72:
  661.  
  662. 241| # For definitions that have an associated option
  663. 242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  664. | ^
  665. 243|
  666.  
  667. … while evaluating the option `systemd.user.units."spotifyd.service".text':
  668.  
  669. … while calling anonymous lambda
  670.  
  671. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:824:28:
  672.  
  673. 823| # Process mkMerge and mkIf properties.
  674. 824| defs' = concatMap (m:
  675. | ^
  676. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  677.  
  678. … while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/systemd/user.nix':
  679.  
  680. … from call site
  681.  
  682. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:825:137:
  683.  
  684. 824| defs' = concatMap (m:
  685. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  686. | ^
  687. 826| ) defs;
  688.  
  689. … while calling 'dischargeProperties'
  690.  
  691. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:896:25:
  692.  
  693. 895| */
  694. 896| dischargeProperties = def:
  695. | ^
  696. 897| if def._type or "" == "merge" then
  697.  
  698. … from call site
  699.  
  700. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/systemd-lib.nix:494:14:
  701.  
  702. 493| { inherit (def) name aliases wantedBy requiredBy upheldBy enable overrideStrategy;
  703. 494| text = commonUnitText def (''
  704. | ^
  705. 495| [Service]
  706.  
  707. … while calling 'commonUnitText'
  708.  
  709. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/systemd-lib.nix:474:25:
  710.  
  711. 473|
  712. 474| commonUnitText = def: lines: ''
  713. | ^
  714. 475| [Unit]
  715.  
  716. … from call site
  717.  
  718. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/systemd-lib.nix:476:9:
  719.  
  720. 475| [Unit]
  721. 476| ${attrsToSection def.unitConfig}
  722. | ^
  723. 477| '' + lines + optionalString (def.wantedBy != [ ]) ''
  724.  
  725. … while calling 'attrsToSection'
  726.  
  727. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/systemd-lib.nix:190:20:
  728.  
  729. 189|
  730. 190| attrsToSection = as:
  731. | ^
  732. 191| concatStrings (concatLists (mapAttrsToList (name: value:
  733.  
  734. … from call site
  735.  
  736. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/systemd-lib.nix:191:33:
  737.  
  738. 190| attrsToSection = as:
  739. 191| concatStrings (concatLists (mapAttrsToList (name: value:
  740. | ^
  741. 192| map (x: ''
  742.  
  743. … while calling 'mapAttrsToList'
  744.  
  745. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1095:5:
  746.  
  747. 1094| f:
  748. 1095| attrs:
  749. | ^
  750. 1096| map (name: f name attrs.${name}) (attrNames attrs);
  751.  
  752. … while calling anonymous lambda
  753.  
  754. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1205:18:
  755.  
  756. 1204| mapAttrs
  757. 1205| (name: value:
  758. | ^
  759. 1206| if isAttrs value && cond value
  760.  
  761. … from call site
  762.  
  763. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1208:18:
  764.  
  765. 1207| then recurse (path ++ [ name ]) value
  766. 1208| else f (path ++ [ name ]) value);
  767. | ^
  768. 1209| in
  769.  
  770. … while calling anonymous lambda
  771.  
  772. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:242:72:
  773.  
  774. 241| # For definitions that have an associated option
  775. 242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  776. | ^
  777. 243|
  778.  
  779. … while evaluating the option `systemd.user.services.spotifyd.unitConfig':
  780.  
  781. … while calling anonymous lambda
  782.  
  783. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:824:28:
  784.  
  785. 823| # Process mkMerge and mkIf properties.
  786. 824| defs' = concatMap (m:
  787. | ^
  788. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  789.  
  790. … while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/systemd/user.nix':
  791.  
  792. … from call site
  793.  
  794. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:825:137:
  795.  
  796. 824| defs' = concatMap (m:
  797. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  798. | ^
  799. 826| ) defs;
  800.  
  801. … while calling 'dischargeProperties'
  802.  
  803. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:896:25:
  804.  
  805. 895| */
  806. 896| dischargeProperties = def:
  807. | ^
  808. 897| if def._type or "" == "merge" then
  809.  
  810. … from call site
  811.  
  812. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/systemd-lib.nix:392:12:
  813.  
  814. 391| OnSuccess = toString config.onSuccess; }
  815. 392| // optionalAttrs (options.startLimitIntervalSec.isDefined) {
  816. | ^
  817. 393| StartLimitIntervalSec = toString config.startLimitIntervalSec;
  818.  
  819. … while calling 'optionalAttrs'
  820.  
  821. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1352:5:
  822.  
  823. 1351| cond:
  824. 1352| as:
  825. | ^
  826. 1353| if cond then as else {};
  827.  
  828. … while calling anonymous lambda
  829.  
  830. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:824:28:
  831.  
  832. 823| # Process mkMerge and mkIf properties.
  833. 824| defs' = concatMap (m:
  834. | ^
  835. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  836.  
  837. … while evaluating definitions from `/etc/nixos/spotify.nix':
  838.  
  839. … from call site
  840.  
  841. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:825:137:
  842.  
  843. 824| defs' = concatMap (m:
  844. 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  845. | ^
  846. 826| ) defs;
  847.  
  848. … while calling 'dischargeProperties'
  849.  
  850. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:896:25:
  851.  
  852. 895| */
  853. 896| dischargeProperties = def:
  854. | ^
  855. 897| if def._type or "" == "merge" then
  856.  
  857. … while calling anonymous lambda
  858.  
  859. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1205:18:
  860.  
  861. 1204| mapAttrs
  862. 1205| (name: value:
  863. | ^
  864. 1206| if isAttrs value && cond value
  865.  
  866. … from call site
  867.  
  868. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1208:18:
  869.  
  870. 1207| then recurse (path ++ [ name ]) value
  871. 1208| else f (path ++ [ name ]) value);
  872. | ^
  873. 1209| in
  874.  
  875. … while calling anonymous lambda
  876.  
  877. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:242:72:
  878.  
  879. 241| # For definitions that have an associated option
  880. 242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  881. | ^
  882. 243|
  883.  
  884. … while evaluating the option `programs.spotify.daemon.service.startLimitIntervalSec':
  885.  
  886. error: The option `programs.spotify.daemon.service.startLimitIntervalSec' is used but not defined.
  887.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement