Skip to content

Instantly share code, notes, and snippets.

@busti
Created June 12, 2022 00:42
Show Gist options
  • Save busti/ca32db85512a374ae62f0a78ae921ef5 to your computer and use it in GitHub Desktop.
Save busti/ca32db85512a374ae62f0a78ae921ef5 to your computer and use it in GitHub Desktop.
building Nix...
building the system configuration...
error: the string '22.05' is not allowed to refer to a store path (such as '/nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src')
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/strings.nix:562:26:
561| */
562| versionOlder = v1: v2: compareVersions v2 v1 == 1;
| ^
563|
… while evaluating 'versionOlder'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/strings.nix:562:22:
561| */
562| versionOlder = v1: v2: compareVersions v2 v1 == 1;
| ^
563|
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/strings.nix:574:29:
573| */
574| versionAtLeast = v1: v2: !versionOlder v1 v2;
| ^
575|
… while evaluating 'versionAtLeast'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/strings.nix:574:24:
573| */
574| versionAtLeast = v1: v2: !versionOlder v1 v2;
| ^
575|
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/services/matrix/matrix-synapse.nix:472:28:
471| ];
472| default = if versionAtLeast config.system.stateVersion "18.03"
| ^
473| then "psycopg2"
… while evaluating the attribute 'default'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/services/matrix/matrix-synapse.nix:472:15:
471| ];
472| default = if versionAtLeast config.system.stateVersion "18.03"
| ^
473| then "psycopg2"
… while evaluating the attribute 'value.content'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:918:14:
917| { _type = "override";
918| inherit priority content;
| ^
919| };
… while evaluating the attribute 'value._type'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:871:73:
870| highestPrio = foldl' (prio: def: min (getPrio def) prio) 9999 defs;
871| strip = def: if def.value._type or "" == "override" then def // { value = def.value.content; } else def;
| ^
872| in {
… while evaluating anonymous lambda
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:770:19:
769| # Avoid sorting if we don't have to.
770| if any (def: def.value._type or "" == "order") defs''.values
| ^
771| then sortProperties defs''.values
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:770:14:
769| # Avoid sorting if we don't have to.
770| if any (def: def.value._type or "" == "order") defs''.values
| ^
771| then sortProperties defs''.values
… while evaluating the attribute 'values'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:774:9:
773| in {
774| values = defs''';
| ^
775| inherit (defs'') highestPrio;
… while evaluating the attribute 'mergedValue'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:780:5:
779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
780| mergedValue =
| ^
781| if isDefined then
… while evaluating the option `services.matrix-synapse.settings.database.name':
… while evaluating the attribute 'value'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:746:9:
745| in warnDeprecation opt //
746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
747| inherit (res.defsFinal') highestPrio;
… while evaluating anonymous lambda
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:296:72:
295| # For definitions that have an associated option
296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
297|
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/attrsets.nix:401:20:
400| then recurse (path ++ [name]) value
401| else f (path ++ [name]) value;
| ^
402| in mapAttrs g;
… while evaluating 'g'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/attrsets.nix:398:19:
397| g =
398| name: value:
| ^
399| if isAttrs value && cond value
… from call site
… while evaluating the attribute 'default'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/services/matrix/matrix-synapse.nix:505:15:
504| type = types.nullOr types.str;
505| default = {
| ^
506| sqlite3 = null;
… while evaluating 'isDerivation'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/lib/attrsets.nix:427:18:
426| */
427| isDerivation = x: x.type or null == "derivation";
| ^
428|
… from call site
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/lib/options.nix:256:8:
255| scrubOptionValue = x:
256| if isDerivation x then
| ^
257| { type = "derivation"; drvPath = x.name; outPath = x.name; name = x.name; }
… while evaluating 'scrubOptionValue'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/lib/options.nix:255:22:
254| */
255| scrubOptionValue = x:
| ^
256| if isDerivation x then
… from call site
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/lib/options.nix:235:54:
234| // optionalAttrs (opt ? example) { example = scrubOptionValue opt.example; }
235| // optionalAttrs (opt ? default) { default = scrubOptionValue opt.default; }
| ^
236| // optionalAttrs (opt ? defaultText) { default = opt.defaultText; }
… while evaluating the attribute 'default'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/lib/options.nix:235:44:
234| // optionalAttrs (opt ? example) { example = scrubOptionValue opt.example; }
235| // optionalAttrs (opt ? default) { default = scrubOptionValue opt.default; }
| ^
236| // optionalAttrs (opt ? defaultText) { default = opt.defaultText; }
… while evaluating 'isDerivation'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/lib/attrsets.nix:427:18:
426| */
427| isDerivation = x: x.type or null == "derivation";
| ^
428|
… from call site
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/nixos/lib/make-options-doc/default.nix:44:8:
43| substSpecial = x:
44| if lib.isDerivation x then { _type = "derivation"; name = x.name; }
| ^
45| else if builtins.isAttrs x then lib.mapAttrs (name: substSpecial) x
… while evaluating 'substSpecial'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/nixos/lib/make-options-doc/default.nix:43:18:
42| # effect, since _type is already used by the module system.
43| substSpecial = x:
| ^
44| if lib.isDerivation x then { _type = "derivation"; name = x.name; }
… from call site
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/nixos/lib/make-options-doc/default.nix:53:54:
52| // lib.optionalAttrs (opt ? example) { example = substSpecial opt.example; }
53| // lib.optionalAttrs (opt ? default) { default = substSpecial opt.default; }
| ^
54| // lib.optionalAttrs (opt ? type) { type = substSpecial opt.type; }
… while evaluating the attribute 'options' of the derivation 'options.json'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating the attribute 'buildCommand' of the derivation 'options.xml'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating the attribute 'buildCommand' of the derivation 'options-docbook.xml'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating the attribute 'buildCommand' of the derivation 'generated-docbook'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating the attribute 'buildCommand' of the derivation 'nixos-manual-combined'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating the attribute 'buildCommand' of the derivation 'manual-olinkdb'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating the attribute 'buildCommand' of the derivation 'nixos-manpages'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating the attribute 'passAsFile'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/pkgs/build-support/buildenv/default.nix:77:5:
76| # XXX: The size is somewhat arbitrary
77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ];
| ^
78| }
… while evaluating the attribute 'passAsFile' of the derivation 'system-path'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating 'check'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/types.nix:394:15:
393| name = "path";
394| check = x: isCoercibleToString x && builtins.substring 0 1 (toString x) == "/";
| ^
395| merge = mergeEqualOption;
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:782:22:
781| if isDefined then
782| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
783| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while evaluating anonymous lambda
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:782:17:
781| if isDefined then
782| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
783| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:782:12:
781| if isDefined then
782| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
783| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while evaluating the attribute 'value'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:793:27:
792| optionalValue =
793| if isDefined then { value = mergedValue; }
| ^
794| else {};
… while evaluating anonymous lambda
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/types.nix:403:14:
402| merge = loc: defs:
403| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
| ^
404| imap1 (m: def':
… from call site
… while evaluating the attribute 'serviceDirectories' of the derivation 'dbus-1'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating 'check'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/types.nix:394:15:
393| name = "path";
394| check = x: isCoercibleToString x && builtins.substring 0 1 (toString x) == "/";
| ^
395| merge = mergeEqualOption;
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:782:22:
781| if isDefined then
782| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
783| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while evaluating anonymous lambda
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:782:17:
781| if isDefined then
782| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
783| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:782:12:
781| if isDefined then
782| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
783| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while evaluating the attribute 'mergedValue'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:780:5:
779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
780| mergedValue =
| ^
781| if isDefined then
… while evaluating the option `environment.etc.dbus-1.source':
… while evaluating the attribute 'value'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:746:9:
745| in warnDeprecation opt //
746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
747| inherit (res.defsFinal') highestPrio;
… while evaluating anonymous lambda
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:296:72:
295| # For definitions that have an associated option
296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
297|
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/attrsets.nix:401:20:
400| then recurse (path ++ [name]) value
401| else f (path ++ [name]) value;
| ^
402| in mapAttrs g;
… while evaluating 'g'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/attrsets.nix:398:19:
397| g =
398| name: value:
| ^
399| if isAttrs value && cond value
… from call site
… while evaluating 'escapeShellArg'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/strings.nix:316:20:
315| */
316| escapeShellArg = arg: "'${replaceStrings ["'"] ["'\\''"] (toString arg)}'";
| ^
317|
… from call site
… while evaluating 'concatMapStringsSep'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/strings.nix:111:5:
110| # List of input strings
111| list: concatStringsSep sep (map f list);
| ^
112|
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/system/etc/etc.nix:54:43:
53| mkdir -p "$out/etc"
54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
| ^
55| "makeEtcEntry"
… while evaluating anonymous lambda
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/system/etc/etc.nix:54:33:
53| mkdir -p "$out/etc"
54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
| ^
55| "makeEtcEntry"
… from call site
… while evaluating 'concatMapStringsSep'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/strings.nix:111:5:
110| # List of input strings
111| list: concatStringsSep sep (map f list);
| ^
112|
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/system/etc/etc.nix:54:7:
53| mkdir -p "$out/etc"
54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
| ^
55| "makeEtcEntry"
… while evaluating the attribute 'buildCommand' of the derivation 'etc'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating the attribute 'value'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:581:44:
580| defnsByName' = byName "config" (module: value:
581| [{ inherit (module) file; inherit value; }]
| ^
582| ) configs;
… while evaluating 'atDepth'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/attrsets.nix:60:17:
59| len = length attrPath;
60| atDepth = n:
| ^
61| if n == len
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/attrsets.nix:63:39:
62| then value
63| else { ${elemAt attrPath n} = atDepth (n + 1); };
| ^
64| in atDepth 0;
… while evaluating the attribute 'value'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/types.nix:461:58:
460| # Push down position info.
461| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs);
| ^
462| emptyValue = { value = {}; };
… while evaluating 'dischargeProperties'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:832:25:
831| */
832| dischargeProperties = def:
| ^
833| if def._type or "" == "merge" then
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:761:137:
760| defs' = concatMap (m:
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
762| ) defs;
… while evaluating definitions from `/nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/system/etc/etc.nix':
… while evaluating anonymous lambda
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:760:28:
759| # Process mkMerge and mkIf properties.
760| defs' = concatMap (m:
| ^
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:760:17:
759| # Process mkMerge and mkIf properties.
760| defs' = concatMap (m:
| ^
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating the attribute 'values'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:873:7:
872| in {
873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
874| inherit highestPrio;
… while evaluating the attribute 'values'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:774:9:
773| in {
774| values = defs''';
| ^
775| inherit (defs'') highestPrio;
… while evaluating the attribute 'optionalValue.value'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:792:5:
791|
792| optionalValue =
| ^
793| if isDefined then { value = mergedValue; }
… while evaluating anonymous lambda
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/types.nix:455:29:
454| merge = loc: defs:
455| zipAttrsWith (name: defs:
| ^
456| let merged = mergeDefinitions (loc ++ [name]) elemType defs;
… from call site
… while evaluating anonymous lambda
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/attrsets.nix:518:24:
517| let f = attrPath:
518| zipAttrsWith (n: values:
| ^
519| let here = attrPath ++ [n]; in
… from call site
… while evaluating the attribute 'value'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:581:44:
580| defnsByName' = byName "config" (module: value:
581| [{ inherit (module) file; inherit value; }]
| ^
582| ) configs;
… while evaluating 'dischargeProperties'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:832:25:
831| */
832| dischargeProperties = def:
| ^
833| if def._type or "" == "merge" then
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:761:137:
760| defs' = concatMap (m:
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
762| ) defs;
… while evaluating definitions from `/nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/system/etc/etc-activation.nix':
… while evaluating anonymous lambda
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:760:28:
759| # Process mkMerge and mkIf properties.
760| defs' = concatMap (m:
| ^
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:760:17:
759| # Process mkMerge and mkIf properties.
760| defs' = concatMap (m:
| ^
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating the attribute 'values'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:873:7:
872| in {
873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
874| inherit highestPrio;
… while evaluating the attribute 'values'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:774:9:
773| in {
774| values = defs''';
| ^
775| inherit (defs'') highestPrio;
… while evaluating the attribute 'mergedValue'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:780:5:
779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
780| mergedValue =
| ^
781| if isDefined then
… while evaluating the option `system.activationScripts.etc.text':
… while evaluating the attribute 'value'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:746:9:
745| in warnDeprecation opt //
746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
747| inherit (res.defsFinal') highestPrio;
… while evaluating anonymous lambda
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/modules.nix:296:72:
295| # For definitions that have an associated option
296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
297|
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/attrsets.nix:401:20:
400| then recurse (path ++ [name]) value
401| else f (path ++ [name]) value;
| ^
402| in mapAttrs g;
… while evaluating 'g'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/attrsets.nix:398:19:
397| g =
398| name: value:
| ^
399| if isAttrs value && cond value
… from call site
… while evaluating the attribute 'text'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/system/activation/activation-script.nix:9:5:
8| addAttributeName = mapAttrs (a: v: v // {
9| text = ''
| ^
10| #### Activation script snippet ${a}:
… while evaluating 'id'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/trivial.nix:14:5:
13| # The value to return
14| x: x;
| ^
15|
… from call site
… while evaluating 'textClosureMap'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/lib/strings-with-deps.nix:75:35:
74|
75| textClosureMap = f: predefined: names:
| ^
76| concatStringsSep "\n" (map f (textClosureList predefined names));
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/system/activation/activation-script.nix:49:9:
48|
49| ${textClosureMap id (withDrySnippets) (attrNames withDrySnippets)}
| ^
50|
… while evaluating 'systemActivationScript'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/system/activation/activation-script.nix:20:33:
19|
20| systemActivationScript = set: onlyDry: let
| ^
21| set' = mapAttrs (_: v: if isString v then (noDepEntry v) // { supportsDryActivation = false; } else v) set;
… from call site
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/system/activation/activation-script.nix:137:18:
136| apply = set: set // {
137| script = systemActivationScript set false;
| ^
138| };
… while evaluating the attribute 'system.activationScripts.script'
at /nix/store/363n9qpp2aibismayc93ack9kjbs1da7-sources/nixpkgs/nixos/modules/system/activation/activation-script.nix:137:9:
136| apply = set: set // {
137| script = systemActivationScript set false;
| ^
138| };
… while evaluating the attribute 'activationScript' of the derivation 'nixos-system-fish-22.05pre-git'
at /nix/store/0qma2xzkmp0x3j6gb0936fimvqsp297g-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment