Advertisement
Guest User

Untitled

a guest
Mar 28th, 2021
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.92 KB | None | 0 0
  1. building the system configuration...
  2. error: attribute 'pulse' missing
  3.  
  4. at /nix/var/nix/profiles/per-user/root/channels/nixos-unstable/nixos/modules/services/desktops/pipewire/pipewire.nix:159:57:
  5.  
  6. 158| systemd.packages = [ cfg.package ]
  7. 159| ++ lib.optional cfg.pulse.enable cfg.package.pulse;
  8. | ^
  9. 160|
  10.  
  11. … while evaluating the attribute 'package.pulse'
  12.  
  13. … while evaluating the attribute 'value'
  14.  
  15. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:271:40:
  16.  
  17. 270| elemType
  18. 271| [{ inherit (def) file; value = def'; }]
  19. | ^
  20. 272| ).optionalValue
  21.  
  22. … while evaluating 'dischargeProperties'
  23.  
  24. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:549:25:
  25.  
  26. 548| */
  27. 549| dischargeProperties = def:
  28. | ^
  29. 550| if def._type or "" == "merge" then
  30.  
  31. … from call site
  32.  
  33. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:478:137:
  34.  
  35. 477| defs' = concatMap (m:
  36. 478| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  37. | ^
  38. 479| ) defs;
  39.  
  40. … while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos-unstable/nixos/modules/services/desktops/pipewire/pipewire.nix':
  41.  
  42. … while evaluating anonymous lambda
  43.  
  44. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:477:28:
  45.  
  46. 476| # Process mkMerge and mkIf properties.
  47. 477| defs' = concatMap (m:
  48. | ^
  49. 478| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  50.  
  51. … from call site
  52.  
  53. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:477:17:
  54.  
  55. 476| # Process mkMerge and mkIf properties.
  56. 477| defs' = concatMap (m:
  57. | ^
  58. 478| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  59.  
  60. … while evaluating the attribute 'values'
  61.  
  62. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:590:7:
  63.  
  64. 589| in {
  65. 590| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
  66. | ^
  67. 591| inherit highestPrio;
  68.  
  69. … while evaluating the attribute 'values'
  70.  
  71. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:491:9:
  72.  
  73. 490| in {
  74. 491| values = defs''';
  75. | ^
  76. 492| inherit (defs'') highestPrio;
  77.  
  78. … while evaluating the attribute 'optionalValue'
  79.  
  80. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:509:5:
  81.  
  82. 508|
  83. 509| optionalValue =
  84. | ^
  85. 510| if isDefined then { value = mergedValue; }
  86.  
  87. … while evaluating anonymous lambda
  88.  
  89. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:267:23:
  90.  
  91. 266| if isList def.value then
  92. 267| imap1 (m: def':
  93. | ^
  94. 268| (mergeDefinitions
  95.  
  96. … from call site
  97.  
  98. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:116:32:
  99.  
  100. 115| */
  101. 116| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
  102. | ^
  103. 117|
  104.  
  105. … while evaluating anonymous lambda
  106.  
  107. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:116:29:
  108.  
  109. 115| */
  110. 116| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
  111. | ^
  112. 117|
  113.  
  114. … from call site
  115.  
  116. … while evaluating anonymous lambda
  117.  
  118. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:265:35:
  119.  
  120. 264| merge = loc: defs:
  121. 265| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
  122. | ^
  123. 266| if isList def.value then
  124.  
  125. … from call site
  126.  
  127. … while evaluating 'merge'
  128.  
  129. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:264:20:
  130.  
  131. 263| check = isList;
  132. 264| merge = loc: defs:
  133. | ^
  134. 265| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
  135.  
  136. … from call site
  137.  
  138. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:499:59:
  139.  
  140. 498| if isDefined then
  141. 499| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
  142. | ^
  143. 500| else let firstInvalid = findFirst (def: ! type.check def.value) null defsFinal;
  144.  
  145. … while evaluating the attribute 'mergedValue'
  146.  
  147. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:497:5:
  148.  
  149. 496| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  150. 497| mergedValue =
  151. | ^
  152. 498| if isDefined then
  153.  
  154. … while evaluating the option `systemd.packages':
  155.  
  156. … while evaluating the attribute 'value'
  157.  
  158. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:465:9:
  159.  
  160. 464| in warnDeprecation opt //
  161. 465| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
  162. | ^
  163. 466| inherit (res.defsFinal') highestPrio;
  164.  
  165. … while evaluating anonymous lambda
  166.  
  167. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:98:72:
  168.  
  169. 97| # For definitions that have an associated option
  170. 98| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  171. | ^
  172. 99|
  173.  
  174. … from call site
  175.  
  176. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:279:20:
  177.  
  178. 278| then recurse (path ++ [name]) value
  179. 279| else f (path ++ [name]) value;
  180. | ^
  181. 280| in mapAttrs g set;
  182.  
  183. … while evaluating 'g'
  184.  
  185. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:276:19:
  186.  
  187. 275| g =
  188. 276| name: value:
  189. | ^
  190. 277| if isAttrs value && cond value
  191.  
  192. … from call site
  193.  
  194. … while evaluating the attribute 'packages'
  195.  
  196. … while evaluating the attribute 'buildCommand' of the derivation 'system-units'
  197.  
  198. at /nix/store/427mv9b9ifysk1cb6kf2vgwq1v9mxcd6-nixos-20.09.3613.34f85de51bb/nixos/pkgs/build-support/trivial-builders.nix:7:7:
  199.  
  200. 6| stdenv.mkDerivation ({
  201. 7| name = lib.strings.sanitizeDerivationName name;
  202. | ^
  203. 8| inherit buildCommand;
  204.  
  205. … while evaluating 'check'
  206.  
  207. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:256:15:
  208.  
  209. 255| name = "path";
  210. 256| check = x: isCoercibleToString x && builtins.substring 0 1 (toString x) == "/";
  211. | ^
  212. 257| merge = mergeEqualOption;
  213.  
  214. … from call site
  215.  
  216. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:499:22:
  217.  
  218. 498| if isDefined then
  219. 499| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
  220. | ^
  221. 500| else let firstInvalid = findFirst (def: ! type.check def.value) null defsFinal;
  222.  
  223. … while evaluating anonymous lambda
  224.  
  225. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:499:17:
  226.  
  227. 498| if isDefined then
  228. 499| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
  229. | ^
  230. 500| else let firstInvalid = findFirst (def: ! type.check def.value) null defsFinal;
  231.  
  232. … from call site
  233.  
  234. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:499:12:
  235.  
  236. 498| if isDefined then
  237. 499| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
  238. | ^
  239. 500| else let firstInvalid = findFirst (def: ! type.check def.value) null defsFinal;
  240.  
  241. … while evaluating the attribute 'mergedValue'
  242.  
  243. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:497:5:
  244.  
  245. 496| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  246. 497| mergedValue =
  247. | ^
  248. 498| if isDefined then
  249.  
  250. … while evaluating the option `environment.etc.systemd/system.source':
  251.  
  252. … while evaluating the attribute 'value'
  253.  
  254. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:465:9:
  255.  
  256. 464| in warnDeprecation opt //
  257. 465| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
  258. | ^
  259. 466| inherit (res.defsFinal') highestPrio;
  260.  
  261. … while evaluating anonymous lambda
  262.  
  263. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:98:72:
  264.  
  265. 97| # For definitions that have an associated option
  266. 98| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  267. | ^
  268. 99|
  269.  
  270. … from call site
  271.  
  272. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:279:20:
  273.  
  274. 278| then recurse (path ++ [name]) value
  275. 279| else f (path ++ [name]) value;
  276. | ^
  277. 280| in mapAttrs g set;
  278.  
  279. … while evaluating 'g'
  280.  
  281. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:276:19:
  282.  
  283. 275| g =
  284. 276| name: value:
  285. | ^
  286. 277| if isAttrs value && cond value
  287.  
  288. … from call site
  289.  
  290. … while evaluating the attribute 'source'
  291.  
  292. … while evaluating anonymous lambda
  293.  
  294. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/etc/etc.nix:20:20:
  295.  
  296. 19| /* !!! Use toXML. */
  297. 20| sources = map (x: x.source) etc';
  298. | ^
  299. 21| targets = map (x: x.target) etc';
  300.  
  301. … from call site
  302.  
  303. … while evaluating the attribute 'sources' of the derivation 'etc'
  304.  
  305. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/etc/etc.nix:12:5:
  306.  
  307. 11| etc = pkgs.stdenvNoCC.mkDerivation {
  308. 12| name = "etc";
  309. | ^
  310. 13|
  311.  
  312. … while evaluating the attribute 'value'
  313.  
  314. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:338:44:
  315.  
  316. 337| defnsByName' = byName "config" (module: value:
  317. 338| [{ inherit (module) file; inherit value; }]
  318. | ^
  319. 339| ) configs;
  320.  
  321. … while evaluating 'dischargeProperties'
  322.  
  323. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:549:25:
  324.  
  325. 548| */
  326. 549| dischargeProperties = def:
  327. | ^
  328. 550| if def._type or "" == "merge" then
  329.  
  330. … from call site
  331.  
  332. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:478:137:
  333.  
  334. 477| defs' = concatMap (m:
  335. 478| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  336. | ^
  337. 479| ) defs;
  338.  
  339. … while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/etc/etc.nix':
  340.  
  341. … while evaluating anonymous lambda
  342.  
  343. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:477:28:
  344.  
  345. 476| # Process mkMerge and mkIf properties.
  346. 477| defs' = concatMap (m:
  347. | ^
  348. 478| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  349.  
  350. … from call site
  351.  
  352. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:477:17:
  353.  
  354. 476| # Process mkMerge and mkIf properties.
  355. 477| defs' = concatMap (m:
  356. | ^
  357. 478| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  358.  
  359. … while evaluating the attribute 'values'
  360.  
  361. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:590:7:
  362.  
  363. 589| in {
  364. 590| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
  365. | ^
  366. 591| inherit highestPrio;
  367.  
  368. … while evaluating the attribute 'values'
  369.  
  370. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:491:9:
  371.  
  372. 490| in {
  373. 491| values = defs''';
  374. | ^
  375. 492| inherit (defs'') highestPrio;
  376.  
  377. … while evaluating the attribute 'mergedValue'
  378.  
  379. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:497:5:
  380.  
  381. 496| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  382. 497| mergedValue =
  383. | ^
  384. 498| if isDefined then
  385.  
  386. … while evaluating the option `system.activationScripts.etc.text':
  387.  
  388. … while evaluating the attribute 'value'
  389.  
  390. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:465:9:
  391.  
  392. 464| in warnDeprecation opt //
  393. 465| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
  394. | ^
  395. 466| inherit (res.defsFinal') highestPrio;
  396.  
  397. … while evaluating anonymous lambda
  398.  
  399. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:98:72:
  400.  
  401. 97| # For definitions that have an associated option
  402. 98| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  403. | ^
  404. 99|
  405.  
  406. … from call site
  407.  
  408. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:279:20:
  409.  
  410. 278| then recurse (path ++ [name]) value
  411. 279| else f (path ++ [name]) value;
  412. | ^
  413. 280| in mapAttrs g set;
  414.  
  415. … while evaluating 'g'
  416.  
  417. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:276:19:
  418.  
  419. 275| g =
  420. 276| name: value:
  421. | ^
  422. 277| if isAttrs value && cond value
  423.  
  424. … from call site
  425.  
  426. … while evaluating the attribute 'text'
  427.  
  428. … while evaluating the attribute 'text'
  429.  
  430. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activation-script.nix:9:5:
  431.  
  432. 8| addAttributeName = mapAttrs (a: v: v // {
  433. 9| text = ''
  434. | ^
  435. 10| #### Activation script snippet ${a}:
  436.  
  437. … while evaluating 'id'
  438.  
  439. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:14:5:
  440.  
  441. 13| # The value to return
  442. 14| x: x;
  443. | ^
  444. 15|
  445.  
  446. … from call site
  447.  
  448. … while evaluating 'textClosureMap'
  449.  
  450. at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/strings-with-deps.nix:70:35:
  451.  
  452. 69|
  453. 70| textClosureMap = f: predefined: names:
  454. | ^
  455. 71| concatStringsSep "\n" (map f (textClosureList predefined names));
  456.  
  457. … from call site
  458.  
  459. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activation-script.nix:101:18:
  460.  
  461. 100| withHeadlines = addAttributeName set';
  462. 101| in textClosureMap id (withHeadlines) (attrNames withHeadlines)
  463. | ^
  464. 102| }
  465.  
  466. … while evaluating the attribute 'system.activationScripts.script'
  467.  
  468. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activation-script.nix:80:9:
  469.  
  470. 79| apply = set: {
  471. 80| script =
  472. | ^
  473. 81| ''
  474.  
  475. … while evaluating the attribute 'activationScript' of the derivation 'nixos-system-basil-hallward-20.09.3613.34f85de51bb'
  476.  
  477. at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:95:5:
  478.  
  479. 94| baseSystem = pkgs.stdenvNoCC.mkDerivation {
  480. 95| name = "nixos-system-${config.system.name}-${config.system.nixos.label}";
  481. | ^
  482. 96| preferLocalBuild = true;
  483.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement