ITADN

[Bug] `appmenu-gtk3-module` fails to build

#1238OpenLokito23 创建于 2025-11-06
L
Lokito23commented
### What happens? Trying to update the system while having the `appmenu-gtk3-module` enabled throws an error due to the renaming of `wrapGAppsHook` to `wrapGAppsHook3`. ### What is expected to happen? It should be able to build. ### If possible, please attach logs ``` building the system configuration... evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system' error: … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1691:14: 1690| zipAttrsWith ( 1691| n: values: | ^ 1692| let … while calling the 'head' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1696:13: 1695| if length values == 1 || pred here (elemAt values 1) (head values) then 1696| head values | ^ 1697| else … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1188:17: 1187| mapAttrs ( 1188| name: value: | ^ 1189| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1189:85: 1188| name: value: 1189| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1190| ); … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:275:71: 274| # For definitions that have an associated option 275| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 276| … while evaluating the attribute 'value' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1118:7: 1117| // { 1118| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1119| inherit (res.defsFinal') highestPrio; … while evaluating the option `system.build.toplevel': … while evaluating the attribute 'mergedValue' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1189:5: 1188| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1189| mergedValue = | ^ 1190| if isDefined then … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1190:7: 1189| mergedValue = 1190| if isDefined then | ^ 1191| if type.merge ? v2 then … while evaluating the attribute 'values' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1183:9: 1182| { 1183| values = defsSorted; | ^ 1184| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1177:11: 1176| # Avoid sorting if we don't have to. 1177| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1178| sortProperties defsFiltered.values … while calling the 'any' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1177:14: 1176| # Avoid sorting if we don't have to. 1177| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1178| sortProperties defsFiltered.values … while evaluating the attribute 'values' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1357:7: 1356| { 1357| values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs; | ^ 1358| inherit highestPrio; … while calling the 'concatMap' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1357:16: 1356| { 1357| values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs; | ^ 1358| inherit highestPrio; … while calling the 'concatMap' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1157:26: 1156| # Process mkMerge and mkIf properties. 1157| defsNormalized = concatMap ( | ^ 1158| m: … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1158:11: 1157| defsNormalized = concatMap ( 1158| m: | ^ 1159| map ( … while calling the 'map' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1159:11: 1158| m: 1159| map ( | ^ 1160| value: … while evaluating definitions from `/nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/activation/top-level.nix': … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1168:80: 1167| } 1168| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1169| ) defs; … while calling 'dischargeProperties' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1308:5: 1307| dischargeProperties = 1308| def: | ^ 1309| if def._type or "" == "merge" then … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1309:5: 1308| def: 1309| if def._type or "" == "merge" then | ^ 1310| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:805:21: 804| inherit (module) file; 805| inherit value; | ^ 806| }) module.config … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/activation/top-level.nix:83:26: 82| # Handle assertions and warnings 83| baseSystemAssertWarn = lib.asserts.checkAssertWarn config.assertions config.warnings baseSystem; | ^ 84| … while calling 'checkAssertWarn' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/asserts.nix:193:27: 192| checkAssertWarn = 193| assertions: warnings: val: | ^ 194| let … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/asserts.nix:200:7: 199| else 200| showWarnings warnings val; | ^ 201| … while calling 'showWarnings' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/trivial.nix:982:28: 981| 982| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings; | ^ 983| … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/trivial.nix:982:33: 981| 982| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings; | ^ 983| … while calling 'foldr' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/lists.nix:139:14: 138| foldr = 139| op: nul: list: | ^ 140| let … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/lists.nix:144:5: 143| in 144| fold' 0; | ^ 145| … while calling 'fold'' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/lists.nix:142:15: 141| len = length list; 142| fold' = n: if n == len then nul else op (elemAt list n) (fold' (n + 1)); | ^ 143| in … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/activation/top-level.nix:65:16: 64| # makes it bootable. See `activatable-system.nix`. 65| baseSystem = pkgs.stdenvNoCC.mkDerivation ( | ^ 66| { … while calling 'mkDerivation' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:66:18: 65| */ 66| mkDerivation = fnOrAttrs: makeDerivationExtensible (toFunction fnOrAttrs); | ^ 67| … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:66:29: 65| */ 66| mkDerivation = fnOrAttrs: makeDerivationExtensible (toFunction fnOrAttrs); | ^ 67| … while calling 'makeDerivationExtensible' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:77:5: 76| makeDerivationExtensible = 77| rattrs: | ^ 78| let … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:138:22: 137| 138| finalPackage = mkDerivationSimple overrideAttrs args; | ^ 139| … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:66:55: 65| */ 66| mkDerivation = fnOrAttrs: makeDerivationExtensible (toFunction fnOrAttrs); | ^ 67| … while calling 'toFunction' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/trivial.nix:1120:16: 1119| */ 1120| toFunction = v: if isFunction v then v else k: v; | ^ 1121| … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/trivial.nix:1120:19: 1119| */ 1120| toFunction = v: if isFunction v then v else k: v; | ^ 1121| … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/trivial.nix:1120:22: 1119| */ 1120| toFunction = v: if isFunction v then v else k: v; | ^ 1121| … while calling 'isFunction' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/trivial.nix:1043:16: 1042| */ 1043| isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f)); | ^ 1044| … in the left operand of the OR (||) operator at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/trivial.nix:1043:41: 1042| */ 1043| isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f)); | ^ 1044| … while calling the 'isFunction' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/trivial.nix:1043:19: 1042| */ 1043| isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f)); | ^ 1044| … in the right operand of the update (//) operator at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/activation/top-level.nix:79:5: 78| } 79| // config.system.systemBuilderArgs | ^ 80| ); … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/activation/top-level.nix:79:8: 78| } 79| // config.system.systemBuilderArgs | ^ 80| ); … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1188:17: 1187| mapAttrs ( 1188| name: value: | ^ 1189| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1189:85: 1188| name: value: 1189| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1190| ); … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:275:71: 274| # For definitions that have an associated option 275| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 276| … while evaluating the attribute 'value' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1118:7: 1117| // { 1118| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1119| inherit (res.defsFinal') highestPrio; … while evaluating the option `system.systemBuilderArgs': … while evaluating the attribute 'mergedValue' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1189:5: 1188| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1189| mergedValue = | ^ 1190| if isDefined then … while evaluating the attribute 'value' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:859:17: 858| headError = checkDefsForError check loc defs; 859| value = mapAttrs ( | ^ 860| n: v: … while calling the 'mapAttrs' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:859:25: 858| headError = checkDefsForError check loc defs; 859| value = mapAttrs ( | ^ 860| n: v: … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:853:21: 852| # Meaning it is less lazy 853| filterAttrs (n: v: v.optionalValue ? value) ( | ^ 854| zipAttrsWith (name: defs: mergeDefinitions (loc ++ [ name ]) elemType defs) (pushPositions defs) … while calling 'filterAttrs' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:663:23: 662| */ 663| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set)); | ^ 664| … while calling the 'removeAttrs' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:663:28: 662| */ 663| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set)); | ^ 664| … while calling the 'filter' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:663:45: 662| */ 663| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set)); | ^ 664| … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:663:53: 662| */ 663| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set)); | ^ 664| … in the argument of the not operator at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:663:60: 662| */ 663| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set)); | ^ 664| … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:663:60: 662| */ 663| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set)); | ^ 664| … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:853:37: 852| # Meaning it is less lazy 853| filterAttrs (n: v: v.optionalValue ? value) ( | ^ 854| zipAttrsWith (name: defs: mergeDefinitions (loc ++ [ name ]) elemType defs) (pushPositions defs) … while evaluating the attribute 'optionalValue' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1253:5: 1252| 1253| optionalValue = if isDefined then { value = mergedValue; } else { }; | ^ 1254| }; … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1253:21: 1252| 1253| optionalValue = if isDefined then { value = mergedValue; } else { }; | ^ 1254| }; (8 duplicate frames omitted) … while evaluating definitions from `/nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/activation/activatable-system.nix': … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1168:80: 1167| } 1168| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1169| ) defs; … while calling 'dischargeProperties' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1308:5: 1307| dischargeProperties = 1308| def: | ^ 1309| if def._type or "" == "merge" then … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1309:5: 1308| def: 1309| if def._type or "" == "merge" then | ^ 1310| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:800:15: 799| inherit (def) file; 800| value = v; | ^ 801| }) def.value … while evaluating the attribute 'system.activationScripts.script' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/activation/activation-script.nix:172:11: 171| // { 172| script = systemActivationScript set false; | ^ 173| }; … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/activation/activation-script.nix:172:20: 171| // { 172| script = systemActivationScript set false; | ^ 173| }; … while calling 'systemActivationScript' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/activation/activation-script.nix:30:10: 29| systemActivationScript = 30| set: onlyDry: | ^ 31| let … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/activation/activation-script.nix:71:9: 70| 71| ${textClosureMap id withDrySnippets (attrNames withDrySnippets)} | ^ 72| … while calling 'textClosureMap' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/strings-with-deps.nix:168:20: 167| textClosureMap = 168| f: predefined: names: | ^ 169| concatStringsSep "\n" (map f (textClosureList predefined names)); … while calling the 'concatStringsSep' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/strings-with-deps.nix:169:5: 168| f: predefined: names: 169| concatStringsSep "\n" (map f (textClosureList predefined names)); | ^ 170| … while calling 'id' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/trivial.nix:40:8: 39| */ 40| id = x: x; | ^ 41| … while evaluating the attribute 'text' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/activation/activation-script.nix:17:7: 16| // { 17| text = '' | ^ 18| #### Activation script snippet ${a}: … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/activation/activation-script.nix:20:11: 19| _localstatus=0 20| ${v.text} | ^ 21| … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1188:17: 1187| mapAttrs ( 1188| name: value: | ^ 1189| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1189:85: 1188| name: value: 1189| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1190| ); … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:275:71: 274| # For definitions that have an associated option 275| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 276| … while evaluating the attribute 'value' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1118:7: 1117| // { 1118| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1119| inherit (res.defsFinal') highestPrio; … while evaluating the option `system.activationScripts.etc.text': (10 duplicate frames omitted) … while evaluating definitions from `/nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/etc/etc-activation.nix': … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1168:80: 1167| } 1168| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1169| ) defs; … while calling 'dischargeProperties' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1308:5: 1307| dischargeProperties = 1308| def: | ^ 1309| if def._type or "" == "merge" then … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1309:5: 1308| def: 1309| if def._type or "" == "merge" then | ^ 1310| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:805:21: 804| inherit (module) file; 805| inherit value; | ^ 806| }) module.config … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/etc/etc-activation.nix:19:9: 18| "specialfs" 19| ] config.system.build.etcActivationCommands; | ^ 20| } … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1691:14: 1690| zipAttrsWith ( 1691| n: values: | ^ 1692| let … while calling the 'head' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1696:13: 1695| if length values == 1 || pred here (elemAt values 1) (head values) then 1696| head values | ^ 1697| else … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:860:22: 859| value = mapAttrs ( 860| n: v: | ^ 861| if lazy then … while evaluating the attribute 'optionalValue.value' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1253:5: 1252| 1253| optionalValue = if isDefined then { value = mergedValue; } else { }; | ^ 1254| }; (9 duplicate frames omitted) … while evaluating definitions from `/nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/etc/etc.nix': … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1168:80: 1167| } 1168| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1169| ) defs; … while calling 'dischargeProperties' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1308:5: 1307| dischargeProperties = 1308| def: | ^ 1309| if def._type or "" == "merge" then … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1309:5: 1308| def: 1309| if def._type or "" == "merge" then | ^ 1310| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:800:15: 799| inherit (def) file; 800| value = v; | ^ 801| }) def.value … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:289:73: 288| len = length attrPath; 289| atDepth = n: if n == len then value else { ${elemAt attrPath n} = atDepth (n + 1); }; | ^ 290| in … while calling 'atDepth' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:289:17: 288| len = length attrPath; 289| atDepth = n: if n == len then value else { ${elemAt attrPath n} = atDepth (n + 1); }; | ^ 290| in … while evaluating the attribute 'value' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:805:21: 804| inherit (module) file; 805| inherit value; | ^ 806| }) module.config … while calling the 'getAttr' builtin at <nix/derivation-internal.nix>:50:17: 49| value = commonAttrs // { 50| outPath = builtins.getAttr outputName strict; | ^ 51| drvPath = strict.drvPath; … while calling the 'derivationStrict' builtin at <nix/derivation-internal.nix>:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| … while evaluating derivation 'etc' whose name attribute is located at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:544:13 … while evaluating attribute 'buildCommand' of derivation 'etc' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/build-support/trivial-builders/default.nix:80:17: 79| enableParallelBuilding = true; 80| inherit buildCommand name; | ^ 81| passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]); … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/etc/etc.nix:56:11: 55| mkdir -p "$out/etc" 56| ${lib.concatMapStringsSep "\n" ( | ^ 57| etcEntry: … while calling 'concatMapStringsSep' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/strings.nix:261:13: 260| concatMapStringsSep = 261| sep: f: list: | ^ 262| concatStringsSep sep (map f list); … while calling the 'concatStringsSep' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/strings.nix:262:5: 261| sep: f: list: 262| concatStringsSep sep (map f list); | ^ 263| … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/etc/etc.nix:57:11: 56| ${lib.concatMapStringsSep "\n" ( 57| etcEntry: | ^ 58| lib.escapeShellArgs [ … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/etc/etc.nix:58:11: 57| etcEntry: 58| lib.escapeShellArgs [ | ^ 59| "makeEtcEntry" … while calling 'concatMapStringsSep' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/strings.nix:261:13: 260| concatMapStringsSep = 261| sep: f: list: | ^ 262| concatStringsSep sep (map f list); … while calling the 'concatStringsSep' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/strings.nix:262:5: 261| sep: f: list: 262| concatStringsSep sep (map f list); | ^ 263| … while calling 'escapeShellArg' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/strings.nix:1201:5: 1200| escapeShellArg = 1201| arg: | ^ 1202| let … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/strings.nix:1205:5: 1204| in 1205| if match "[[:alnum:],._+:@%/-]+" string == null then | ^ 1206| "'${replaceString "'" "'\\''" string}'" … while calling the 'match' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/strings.nix:1205:8: 1204| in 1205| if match "[[:alnum:],._+:@%/-]+" string == null then | ^ 1206| "'${replaceString "'" "'\\''" string}'" … while evaluating the second argument passed to builtins.match … while calling the 'toString' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/strings.nix:1203:16: 1202| let 1203| string = toString arg; | ^ 1204| in … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/nixos/modules/system/etc/etc.nix:61:16: 60| # Force local source paths to be added to the store 61| "${etcEntry.source}" | ^ 62| etcEntry.target … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1188:17: 1187| mapAttrs ( 1188| name: value: | ^ 1189| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1189:85: 1188| name: value: 1189| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1190| ); … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:275:71: 274| # For definitions that have an associated option 275| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 276| … while evaluating the attribute 'value' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1118:7: 1117| // { 1118| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1119| inherit (res.defsFinal') highestPrio; … while evaluating the option `environment.etc.dbus-1.source': … while evaluating the attribute 'mergedValue' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1189:5: 1188| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1189| mergedValue = | ^ 1190| if isDefined then … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1198:14: 1197| checkedAndMerged.value 1198| else if all (def: type.check def.value) defsFinal then | ^ 1199| type.merge loc defsFinal … while calling the 'all' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1198:17: 1197| checkedAndMerged.value 1198| else if all (def: type.check def.value) defsFinal then | ^ 1199| type.merge loc defsFinal … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1198:22: 1197| checkedAndMerged.value 1198| else if all (def: type.check def.value) defsFinal then | ^ 1199| type.merge loc defsFinal … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1198:27: 1197| checkedAndMerged.value 1198| else if all (def: type.check def.value) defsFinal then | ^ 1199| type.merge loc defsFinal … while calling 'check' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:692:15: 691| check = 692| x: | ^ 693| let … in the right operand of the AND (&&) operator at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:709:15: 708| && (inStore == null || inStore == isInStore) 709| && (absolute == null || absolute == isAbsolute); | ^ 710| }; … in the right operand of the OR (||) operator at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:709:36: 708| && (inStore == null || inStore == isInStore) 709| && (absolute == null || absolute == isAbsolute); | ^ 710| }; … while calling the 'substring' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:702:30: 701| ); 702| isAbsolute = builtins.substring 0 1 (toString x) == "/"; | ^ 703| isExpectedType = ( … while calling the 'toString' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:702:54: 701| ); 702| isAbsolute = builtins.substring 0 1 (toString x) == "/"; | ^ 703| isExpectedType = ( … while calling the 'getAttr' builtin at <nix/derivation-internal.nix>:50:17: 49| value = commonAttrs // { 50| outPath = builtins.getAttr outputName strict; | ^ 51| drvPath = strict.drvPath; … while calling the 'derivationStrict' builtin at <nix/derivation-internal.nix>:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| … while evaluating derivation 'dbus-1' whose name attribute is located at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:544:13 … while evaluating attribute 'serviceDirectories' of derivation 'dbus-1' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/development/libraries/dbus/make-dbus-conf.nix:19:13: 18| { 19| inherit serviceDirectories suidHelper apparmor; | ^ 20| preferLocalBuild = true; … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/types.nix:750:30: 749| headError = checkDefsForError check loc defs; 750| value = map (x: x.optionalValue.value or x.mergedValue) evals; | ^ 751| valueMeta.list = map (v: v.checkedAndMerged.valueMeta) evals; … while evaluating the attribute 'optionalValue.value' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/modules.nix:1253:41: 1252| 1253| optionalValue = if isDefined then { value = mergedValue; } else { }; | ^ 1254| }; (11 duplicate frames omitted) … while evaluating derivation 'system-path' whose name attribute is located at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:544:13 … while evaluating attribute 'passAsFile' of derivation 'system-path' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/build-support/trivial-builders/default.nix:81:9: 80| inherit buildCommand name; 81| passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]); | ^ 82| } … while evaluating the attribute 'passAsFile' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/build-support/buildenv/default.nix:113:9: 112| # XXX: The size is somewhat arbitrary 113| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | ^ 114| } … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/build-support/buildenv/default.nix:113:22: 112| # XXX: The size is somewhat arbitrary 113| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | ^ 114| } … in the argument of the not operator at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/build-support/buildenv/default.nix:113:52: 112| # XXX: The size is somewhat arbitrary 113| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | ^ 114| } … while calling the 'lessThan' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/build-support/buildenv/default.nix:113:52: 112| # XXX: The size is somewhat arbitrary 113| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | ^ 114| } … while calling the 'stringLength' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/build-support/buildenv/default.nix:113:25: 112| # XXX: The size is somewhat arbitrary 113| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | ^ 114| } … while calling the 'toJSON' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/build-support/buildenv/default.nix:108:16: 107| ; 108| pkgs = builtins.toJSON chosenOutputs; | ^ 109| extraPathsFrom = lib.optional includeClosures (writeClosure pathsForClosure); … while evaluating list element at index 0 … while evaluating attribute 'paths' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/build-support/buildenv/default.nix:68:7: 67| chosenOutputs = map (drv: { 68| paths = | ^ 69| # First add the usual output(s): respect if user has chosen explicitly, … while evaluating list element at index 0 at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/build-support/buildenv/default.nix:68:7: 67| chosenOutputs = map (drv: { 68| paths = | ^ 69| # First add the usual output(s): respect if user has chosen explicitly, … while calling the 'getAttr' builtin at <nix/derivation-internal.nix>:50:17: 49| value = commonAttrs // { 50| outPath = builtins.getAttr outputName strict; | ^ 51| drvPath = strict.drvPath; … while calling the 'derivationStrict' builtin at <nix/derivation-internal.nix>:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| … while evaluating derivation 'appmenu-gtk3-module-0.7.6' whose name attribute is located at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:544:13 … while evaluating attribute 'nativeBuildInputs' of derivation 'appmenu-gtk3-module-0.7.6' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:593:13: 592| depsBuildBuild = elemAt (elemAt dependencies 0) 0; 593| nativeBuildInputs = elemAt (elemAt dependencies 0) 1; | ^ 594| depsBuildTarget = elemAt (elemAt dependencies 0) 2; … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:497:19: 496| )) 497| (map (drv: getDev drv.__spliced.buildHost or drv) ( | ^ 498| checkDependencyList "nativeBuildInputs" nativeBuildInputs' … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:497:24: 496| )) 497| (map (drv: getDev drv.__spliced.buildHost or drv) ( | ^ 498| checkDependencyList "nativeBuildInputs" nativeBuildInputs' … while calling 'getOutput' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1907:13: 1906| getOutput = 1907| output: pkg: | ^ 1908| if !pkg ? outputSpecified || !pkg.outputSpecified then pkg.${output} or pkg.out or pkg else pkg; … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1908:5: 1907| output: pkg: 1908| if !pkg ? outputSpecified || !pkg.outputSpecified then pkg.${output} or pkg.out or pkg else pkg; | ^ 1909| … in the left operand of the OR (||) operator at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1908:31: 1907| output: pkg: 1908| if !pkg ? outputSpecified || !pkg.outputSpecified then pkg.${output} or pkg.out or pkg else pkg; | ^ 1909| … in the argument of the not operator at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/attrsets.nix:1908:9: 1907| output: pkg: 1908| if !pkg ? outputSpecified || !pkg.outputSpecified then pkg.${output} or pkg.out or pkg else pkg; | ^ 1909| … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:497:31: 496| )) 497| (map (drv: getDev drv.__spliced.buildHost or drv) ( | ^ 498| checkDependencyList "nativeBuildInputs" nativeBuildInputs' … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/lists.nix:345:29: 344| */ 345| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list); | ^ 346| … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/lists.nix:345:32: 344| */ 345| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list); | ^ 346| … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:453:18: 452| imap1 ( 453| index: dep: | ^ 454| if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:454:11: 453| index: dep: 454| if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then | ^ 455| dep … in the left operand of the OR (||) operator at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:454:71: 453| index: dep: 454| if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then | ^ 455| dep … in the left operand of the OR (||) operator at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:454:46: 453| index: dep: 454| if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then | ^ 455| dep … in the left operand of the OR (||) operator at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/stdenv/generic/make-derivation.nix:454:26: 453| index: dep: 454| if dep == null || isDerivation dep || builtins.isString dep || builtins.isPath dep then | ^ 455| dep … while calling the 'elemAt' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/lib/lists.nix:345:43: 344| */ 345| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list); | ^ 346| … while calling anonymous lambda at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/top-level/aliases.nix:219:31: 218| mapAliases = 219| aliases: lib.mapAttrs (n: alias: removeRecurseForDerivations (checkInPkgs n alias)) aliases; | ^ 220| … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/top-level/aliases.nix:219:38: 218| mapAliases = 219| aliases: lib.mapAttrs (n: alias: removeRecurseForDerivations (checkInPkgs n alias)) aliases; | ^ 220| … while calling 'removeRecurseForDerivations' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/top-level/aliases.nix:26:5: 25| removeRecurseForDerivations = 26| alias: | ^ 27| if alias.recurseForDerivations or false then … while evaluating a branch condition at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/top-level/aliases.nix:27:5: 26| alias: 27| if alias.recurseForDerivations or false then | ^ 28| lib.removeAttrs alias [ "recurseForDerivations" ] … from call site at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/top-level/aliases.nix:219:67: 218| mapAliases = 219| aliases: lib.mapAttrs (n: alias: removeRecurseForDerivations (checkInPkgs n alias)) aliases; | ^ 220| … while calling 'checkInPkgs' at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/top-level/aliases.nix:215:8: 214| checkInPkgs = 215| n: alias: | ^ 216| if builtins.hasAttr n super then abort "Alias ${n} is still in all-packages.nix" else alias; … while calling the 'throw' builtin at /nix/store/1wnxdqr2n1pj80lirh9pzsymslx8zd9l-source/pkgs/top-level/aliases.nix:1588:19: 1587| wpa_supplicant_ro_ssids = throw "'wpa_supplicant_ro_ssids' has been renamed to/replaced by 'wpa_supplicant'"; # Converted to throw 2025-10-27 1588| wrapGAppsHook = throw "'wrapGAppsHook' has been renamed to/replaced by 'wrapGAppsHook3'"; # Converted to throw 2025-10-27 | ^ 1589| write_stylus = throw "'write_stylus' has been renamed to/replaced by 'styluslabs-write-bin'"; # Converted to throw 2025-10-27 error: 'wrapGAppsHook' has been renamed to/replaced by 'wrapGAppsHook3' Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '/etc/nixos#nixosConfigurations.<HOSTNAME>.config.system.build.toplevel' --show-trace --no-link' returned non-zero exit status 1. ``` ### More information _No response_
1 条评论