SaumonNet / proxmox-nixos

The Proxmox Hypervisor, on NixOS [maintainers=@camillemndn @julienmalka]
GNU Affero General Public License v3.0
392 stars 8 forks source link

Build failure #35

Closed xqtc161 closed 1 week ago

xqtc161 commented 2 weeks ago

When trying to build with nixos-unstable it throws following error: error: Alias uglify-js is still in node-packages.nix

Trace:

``` error: … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1571:24: 1570| let f = attrPath: 1571| zipAttrsWith (n: values: | ^ 1572| let here = attrPath ++ [n]; in … while calling the 'head' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1575:11: 1574| || pred here (elemAt values 1) (head values) then 1575| head values | ^ 1576| else … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1205:18: 1204| mapAttrs 1205| (name: value: | ^ 1206| if isAttrs value && cond value … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1208:18: 1207| then recurse (path ++ [ name ]) value 1208| else f (path ++ [ name ]) value); | ^ 1209| in … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:242:72: 241| # For definitions that have an associated option 242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options; | ^ 243| … while evaluating the attribute 'value' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:809:9: 808| in warnDeprecation opt // 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 810| inherit (res.defsFinal') highestPrio; … while calling the 'addErrorContext' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:809:17: 808| in warnDeprecation opt // 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 810| inherit (res.defsFinal') highestPrio; … while evaluating the option `system.build.toplevel': … while evaluating the attribute 'mergedValue' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:844:5: 843| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 844| mergedValue = | ^ 845| if isDefined then … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:845:7: 844| mergedValue = 845| if isDefined then | ^ 846| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal … while evaluating the attribute 'values' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:838:9: 837| in { 838| values = defs'''; | ^ 839| inherit (defs'') highestPrio; … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:834:11: 833| # Avoid sorting if we don't have to. 834| if any (def: def.value._type or "" == "order") defs''.values | ^ 835| then sortProperties defs''.values … while calling the 'any' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:834:14: 833| # Avoid sorting if we don't have to. 834| if any (def: def.value._type or "" == "order") defs''.values | ^ 835| then sortProperties defs''.values … while evaluating the attribute 'values' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:937:7: 936| in { 937| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs; | ^ 938| inherit highestPrio; … while calling the 'concatMap' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:937:16: 936| in { 937| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs; | ^ 938| inherit highestPrio; … while calling the 'concatMap' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:824:17: 823| # Process mkMerge and mkIf properties. 824| defs' = concatMap (m: | ^ 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:824:28: 823| # Process mkMerge and mkIf properties. 824| defs' = concatMap (m: | ^ 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) … while calling the 'map' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:825:11: 824| defs' = concatMap (m: 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 826| ) defs; … while calling the 'addErrorContext' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:825:62: 824| defs' = concatMap (m: 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 826| ) defs; … while evaluating definitions from `/nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/activation/top-level.nix': … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:825:137: 824| defs' = concatMap (m: 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 826| ) defs; … while calling 'dischargeProperties' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:896:25: 895| */ 896| dischargeProperties = def: | ^ 897| if def._type or "" == "merge" then … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:897:5: 896| dischargeProperties = def: 897| if def._type or "" == "merge" then | ^ 898| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:607:53: 606| (n: value: 607| [{ inherit (module) file; inherit value; }] | ^ 608| ) … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/activation/top-level.nix:71:12: 70| # Replace runtime dependencies 71| system = foldr ({ oldDependency, newDependency }: drv: | ^ 72| pkgs.replaceDependency { inherit oldDependency newDependency drv; } … while calling 'foldr' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:121:20: 120| */ 121| foldr = op: nul: list: | ^ 122| let … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:128:8: 127| else op (elemAt list n) (fold' (n + 1)); 128| in fold' 0; | ^ 129| … while calling 'fold'' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:124:15: 123| len = length list; 124| fold' = n: | ^ 125| if n == len … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/activation/top-level.nix:68:10: 67| then throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}" 68| else showWarnings config.warnings baseSystem; | ^ 69| … while calling 'showWarnings' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/trivial.nix:927:28: 926| 927| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings; | ^ 928| … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/trivial.nix:927:33: 926| 927| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings; | ^ 928| … while calling 'foldr' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:121:20: 120| */ 121| foldr = op: nul: list: | ^ 122| let … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:128:8: 127| else op (elemAt list n) (fold' (n + 1)); 128| in fold' 0; | ^ 129| … while calling 'fold'' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:124:15: 123| len = length list; 124| fold' = n: | ^ 125| if n == len … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:125:9: 124| fold' = n: 125| if n == len | ^ 126| then nul … while calling the 'length' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:123:13: 122| let 123| len = length list; | ^ 124| fold' = n: … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/activation/top-level.nix:68:23: 67| then throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}" 68| else showWarnings config.warnings baseSystem; | ^ 69| … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1205:18: 1204| mapAttrs 1205| (name: value: | ^ 1206| if isAttrs value && cond value … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1208:18: 1207| then recurse (path ++ [ name ]) value 1208| else f (path ++ [ name ]) value); | ^ 1209| in … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:242:72: 241| # For definitions that have an associated option 242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options; | ^ 243| … while evaluating the attribute 'value' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:809:9: 808| in warnDeprecation opt // 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 810| inherit (res.defsFinal') highestPrio; … while calling the 'addErrorContext' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:809:17: 808| in warnDeprecation opt // 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 810| inherit (res.defsFinal') highestPrio; … while evaluating the option `warnings': (11 duplicate frames omitted) … while evaluating definitions from `/nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/boot/systemd.nix': … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:825:137: 824| defs' = concatMap (m: 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 826| ) defs; … while calling 'dischargeProperties' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:896:25: 895| */ 896| dischargeProperties = def: | ^ 897| if def._type or "" == "merge" then … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:897:5: 896| dischargeProperties = def: 897| if def._type or "" == "merge" then | ^ 898| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:607:53: 606| (n: value: 607| [{ inherit (module) file; inherit value; }] | ^ 608| ) … while calling the 'concatLists' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/boot/systemd.nix:441:8: 440| mkMountNetOnlineWarns = typeStr: defs: lib.concatLists (map (m: mkOneNetOnlineWarn typeStr m.what m) defs); 441| in concatLists ( | ^ 442| mapAttrsToList … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1096:10: 1095| attrs: 1096| map (name: f name attrs.${name}) (attrNames attrs); | ^ 1097| … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1096:16: 1095| attrs: 1096| map (name: f name attrs.${name}) (attrNames attrs); | ^ 1097| … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/boot/systemd.nix:443:16: 442| mapAttrsToList 443| (name: service: | ^ 444| let … while calling the 'concatLists' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/boot/systemd.nix:449:13: 448| in 449| concatLists [ | ^ 450| (optional (type == "oneshot" && (restart == "always" || restart == "on-success")) … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/boot/systemd.nix:450:16: 449| concatLists [ 450| (optional (type == "oneshot" && (restart == "always" || restart == "on-success")) | ^ 451| "Service '${name}.service' with 'Type=oneshot' cannot have 'Restart=always' or 'Restart=on-success'" … while calling 'optional' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:784:20: 783| */ 784| optional = cond: elem: if cond then [elem] else []; | ^ 785| … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:784:26: 783| */ 784| optional = cond: elem: if cond then [elem] else []; | ^ 785| … in the left operand of the AND (&&) operator at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/boot/systemd.nix:450:44: 449| concatLists [ 450| (optional (type == "oneshot" && (restart == "always" || restart == "on-success")) | ^ 451| "Service '${name}.service' with 'Type=oneshot' cannot have 'Restart=always' or 'Restart=on-success'" … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/boot/systemd.nix:445:20: 444| let 445| type = service.serviceConfig.Type or ""; | ^ 446| restart = service.serviceConfig.Restart or "no"; … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1205:18: 1204| mapAttrs 1205| (name: value: | ^ 1206| if isAttrs value && cond value … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1208:18: 1207| then recurse (path ++ [ name ]) value 1208| else f (path ++ [ name ]) value); | ^ 1209| in … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:242:72: 241| # For definitions that have an associated option 242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options; | ^ 243| … while evaluating the attribute 'value' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:809:9: 808| in warnDeprecation opt // 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 810| inherit (res.defsFinal') highestPrio; … while calling the 'addErrorContext' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:809:17: 808| in warnDeprecation opt // 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 810| inherit (res.defsFinal') highestPrio; … while evaluating the option `systemd.services.pve-guests.serviceConfig': … while evaluating the attribute 'mergedValue' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:844:5: 843| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 844| mergedValue = | ^ 845| if isDefined then … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:846:59: 845| if isDefined then 846| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | ^ 847| else let allInvalid = filter (def: ! type.check def.value) defsFinal; … while calling 'merge' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:582:20: 581| check = isAttrs; 582| merge = loc: defs: | ^ 583| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs: … while calling the 'mapAttrs' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:583:9: 582| merge = loc: defs: 583| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs: | ^ 584| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:583:35: 582| merge = loc: defs: 583| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs: | ^ 584| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue … while calling 'filterAttrs' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:646:5: 645| pred: 646| set: | ^ 647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set)); … while calling the 'listToAttrs' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:647:5: 646| set: 647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set)); | ^ 648| … while calling the 'concatMap' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:647:18: 646| set: 647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set)); | ^ 648| … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:647:29: 646| set: 647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set)); | ^ 648| … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:647:59: 646| set: 647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set)); | ^ 648| … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:647:62: 646| set: 647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set)); | ^ 648| … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:583:51: 582| merge = loc: defs: 583| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs: | ^ 584| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:647:43: 646| set: 647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set)); | ^ 648| … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:583:86: 582| merge = loc: defs: 583| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs: | ^ 584| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue … while evaluating the attribute 'optionalValue' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:856:5: 855| 856| optionalValue = | ^ 857| if isDefined then { value = mergedValue; } … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:857:7: 856| optionalValue = 857| if isDefined then { value = mergedValue; } | ^ 858| else {}; (9 duplicate frames omitted) … while evaluating definitions from `/nix/store/qdqdli0a0p7saqrlmcidq3rm931fa20i-source/modules/proxmox-ve/manager.nix': … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:825:137: 824| defs' = concatMap (m: 825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 826| ) defs; … while calling 'dischargeProperties' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:896:25: 895| */ 896| dischargeProperties = def: | ^ 897| if def._type or "" == "merge" then … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:897:5: 896| dischargeProperties = def: 897| if def._type or "" == "merge" then | ^ 898| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:587:60: 586| # Push down position info. 587| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs))); | ^ 588| emptyValue = { value = {}; }; … while calling the 'getAttr' builtin at /builtin/derivation.nix:1:500: … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:1:208: … while evaluating derivation 'pve-manager-8.2.4' whose name attribute is located at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:331:7 … while evaluating attribute 'buildInputs' of derivation 'pve-manager-8.2.4' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:378:7: 377| depsHostHost = elemAt (elemAt dependencies 1) 0; 378| buildInputs = elemAt (elemAt dependencies 1) 1; | ^ 379| depsTargetTarget = elemAt (elemAt dependencies 2) 0; … while calling the 'getAttr' builtin at /builtin/derivation.nix:1:500: … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:1:208: … while evaluating derivation 'perl-5.36.3-env' whose name attribute is located at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:331:7 … while evaluating attribute 'passAsFile' of derivation 'perl-5.36.3-env' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/build-support/trivial-builders/default.nix:69:9: 68| inherit buildCommand name; 69| passAsFile = [ "buildCommand" ] | ^ 70| ++ (derivationArgs.passAsFile or [ ]); … while evaluating the attribute 'passAsFile' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/build-support/buildenv/default.nix:76:5: 75| # XXX: The size is somewhat arbitrary 76| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | ^ 77| } … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/build-support/buildenv/default.nix:76:18: 75| # XXX: The size is somewhat arbitrary 76| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | ^ 77| } … in the argument of the not operator at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/build-support/buildenv/default.nix:76:48: 75| # XXX: The size is somewhat arbitrary 76| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | ^ 77| } … while calling the 'lessThan' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/build-support/buildenv/default.nix:76:48: 75| # XXX: The size is somewhat arbitrary 76| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | ^ 77| } … while calling the 'stringLength' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/build-support/buildenv/default.nix:76:21: 75| # XXX: The size is somewhat arbitrary 76| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | ^ 77| } … while calling the 'toJSON' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/build-support/buildenv/default.nix:58:12: 57| nativeBuildInputs buildInputs; 58| pkgs = builtins.toJSON (map (drv: { | ^ 59| paths = … while calling the 'map' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/build-support/buildenv/default.nix:58:29: 57| nativeBuildInputs buildInputs; 58| pkgs = builtins.toJSON (map (drv: { | ^ 59| paths = … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/development/interpreters/perl/wrapper.nix:12:13: 11| env = let 12| paths = requiredPerlModules (extraLibs ++ [ perl ] ); | ^ 13| in buildEnv { … while calling 'requiredPerlModules' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/top-level/perl-packages.nix:31:25: 30| 31| requiredPerlModules = drvs: let | ^ 32| modules = lib.filter hasPerlModule drvs; … while calling the 'foldl'' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/top-level/perl-packages.nix:33:6: 32| modules = lib.filter hasPerlModule drvs; 33| in lib.unique ([perl] ++ modules ++ lib.concatLists (lib.catAttrs "requiredPerlModules" modules)); | ^ 34| … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:1793:25: 1792| */ 1793| unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) []; | ^ 1794| … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:1793:28: 1792| */ 1793| unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) []; | ^ 1794| … while calling the 'elem' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:1793:31: 1792| */ 1793| unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) []; | ^ 1794| … while calling the 'getAttr' builtin at /builtin/derivation.nix:1:500: … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:1:208: … while evaluating derivation 'pve-http-server-5.1.0' whose name attribute is located at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:331:7 … while evaluating attribute 'postFixup' of derivation 'pve-http-server-5.1.0' at /nix/store/qdqdli0a0p7saqrlmcidq3rm931fa20i-source/pkgs/pve-http-server/default.nix:41:5: 40| 41| postFixup = '' | ^ 42| find $out -type f | xargs sed -i \ … while calling the 'getAttr' builtin at /builtin/derivation.nix:1:500: … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:1:208: … while evaluating derivation 'proxmox-widget-toolkit-4.2.3' whose name attribute is located at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:331:7 … while evaluating attribute 'buildInputs' of derivation 'proxmox-widget-toolkit-4.2.3' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:378:7: 377| depsHostHost = elemAt (elemAt dependencies 1) 0; 378| buildInputs = elemAt (elemAt dependencies 1) 1; | ^ 379| depsTargetTarget = elemAt (elemAt dependencies 2) 0; … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:307:13: 306| (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost)) 307| (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs')) | ^ 308| ] … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:307:18: 306| (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost)) 307| (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs')) | ^ 308| ] … while calling 'getOutput' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1796:23: 1795| */ 1796| getOutput = output: pkg: | ^ 1797| if ! pkg ? outputSpecified || ! pkg.outputSpecified … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1797:5: 1796| getOutput = output: pkg: 1797| if ! pkg ? outputSpecified || ! pkg.outputSpecified | ^ 1798| then pkg.${output} or pkg.out or pkg … in the left operand of the OR (||) operator at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1797:32: 1796| getOutput = output: pkg: 1797| if ! pkg ? outputSpecified || ! pkg.outputSpecified | ^ 1798| then pkg.${output} or pkg.out or pkg … in the argument of the not operator at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1797:10: 1796| getOutput = output: pkg: 1797| if ! pkg ? outputSpecified || ! pkg.outputSpecified | ^ 1798| then pkg.${output} or pkg.out or pkg … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:307:25: 306| (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost)) 307| (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs')) | ^ 308| ] … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:334:29: 333| */ 334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list); | ^ 335| … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:334:32: 333| */ 334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list); | ^ 335| … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:276:15: 275| imap1 276| (index: dep: | ^ 277| if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:277:9: 276| (index: dep: 277| if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep | ^ 278| else if isList dep then checkDependencyList' ([index] ++ positions) name dep … in the left operand of the OR (||) operator at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:277:69: 276| (index: dep: 277| if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep | ^ 278| else if isList dep then checkDependencyList' ([index] ++ positions) name dep … in the left operand of the OR (||) operator at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:277:44: 276| (index: dep: 277| if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep | ^ 278| else if isList dep then checkDependencyList' ([index] ++ positions) name dep … in the left operand of the OR (||) operator at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:277:29: 276| (index: dep: 277| if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep | ^ 278| else if isList dep then checkDependencyList' ([index] ++ positions) name dep … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:277:12: 276| (index: dep: 277| if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep | ^ 278| else if isList dep then checkDependencyList' ([index] ++ positions) name dep … while calling 'isDerivation' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1283:5: 1282| isDerivation = 1283| value: value.type or null == "derivation"; | ^ 1284| … while calling the 'elemAt' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:334:43: 333| */ 334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list); | ^ 335| … from call site at /nix/store/qdqdli0a0p7saqrlmcidq3rm931fa20i-source/pkgs/proxmox-widget-toolkit/default.nix:28:5: 27| buildInputs = [ 28| nodePackages.uglify-js | ^ 29| sassc … while calling anonymous lambda at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/development/node-packages/aliases.nix:33:22: 32| mapAliases = aliases: 33| lib.mapAttrs (n: alias: | ^ 34| removeDistribute … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/development/node-packages/aliases.nix:34:7: 33| lib.mapAttrs (n: alias: 34| removeDistribute | ^ 35| (removeRecurseForDerivations … while calling 'removeDistribute' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/development/node-packages/aliases.nix:21:22: 20| # sets from building on Hydra. 21| removeDistribute = alias: with lib; | ^ 22| if isDerivation alias then … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/development/node-packages/aliases.nix:22:5: 21| removeDistribute = alias: with lib; 22| if isDerivation alias then | ^ 23| dontDistribute alias … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/development/node-packages/aliases.nix:22:8: 21| removeDistribute = alias: with lib; 22| if isDerivation alias then | ^ 23| dontDistribute alias … while calling 'isDerivation' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1283:5: 1282| isDerivation = 1283| value: value.type or null == "derivation"; | ^ 1284| … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/development/node-packages/aliases.nix:35:10: 34| removeDistribute 35| (removeRecurseForDerivations | ^ 36| (checkInPkgs n alias))) … while calling 'removeRecurseForDerivations' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/development/node-packages/aliases.nix:14:33: 13| # set to appear while listing all the packages available. 14| removeRecurseForDerivations = alias: with lib; | ^ 15| if alias.recurseForDerivations or false … while evaluating a branch condition at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/development/node-packages/aliases.nix:15:5: 14| removeRecurseForDerivations = alias: with lib; 15| if alias.recurseForDerivations or false | ^ 16| then removeAttrs alias ["recurseForDerivations"] … from call site at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/development/node-packages/aliases.nix:36:12: 35| (removeRecurseForDerivations 36| (checkInPkgs n alias))) | ^ 37| aliases; … while calling 'checkInPkgs' at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/development/node-packages/aliases.nix:27:20: 26| # Make sure that we are not shadowing something from node-packages.nix. 27| checkInPkgs = n: alias: | ^ 28| if builtins.hasAttr n super … while calling the 'throw' builtin at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/development/node-packages/aliases.nix:29:10: 28| if builtins.hasAttr n super 29| then throw "Alias ${n} is still in node-packages.nix" | ^ 30| else alias; error: Alias uglify-js is still in node-packages.nix ```

Maybe this is related to this?

JulienMalka commented 2 weeks ago

I don't think it is realistic to assume that proxmox-nixos is compatible with overriden version of nixpkgs, this will be too much a burden to maintain correctly. I will add a sentence in the readme to stress that.

JulienMalka commented 1 week ago

Sorry but we have decided not to support overriding nixpkgs input, as it would create a very big maintainance burden. See https://github.com/SaumonNet/proxmox-nixos?tab=readme-ov-file#with-flakes