Build failure: (again, after pynose removal) error: nose-1.3.7 not supported for interpreter python3.12
Steps To Reproduce
Using NixOS unstable I get now:
error: nose-1.3.7 not supported for interpreter python3.12
Before it was fixed with pynose overlay, but after pynose removed i got this again
Any ideas to find out which package doing this?
Build log
error:
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/attrsets.nix:1571:24:
1570| let f = attrPath:
1571| zipAttrsWith (n: values:
| ^
1572| let here = attrPath ++ [n]; in
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:254:72:
253| # For definitions that have an associated option
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
255|
… while evaluating the option `system.build.toplevel':
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:836:28:
835| # Process mkMerge and mkIf properties.
836| defs' = concatMap (m:
| ^
837| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating definitions from `/nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/nixos/modules/system/activation/top-level.nix':
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:837:128:
836| defs' = concatMap (m:
837| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
838| ) defs;
… while calling 'dischargeProperties'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:908:25:
907| */
908| dischargeProperties = def:
| ^
909| if def._type or "" == "merge" then
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/lists.nix:121:20:
120| */
121| foldr = op: nul: list:
| ^
122| let
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/lists.nix:124:15:
123| len = length list;
124| fold' = n:
| ^
125| if n == len
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/lists.nix:121:20:
120| */
121| foldr = op: nul: list:
| ^
122| let
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/lists.nix:124:15:
123| len = length list;
124| fold' = n:
| ^
125| if n == len
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/lists.nix:127:14:
126| then nul
127| else op (elemAt list n) (fold' (n + 1));
| ^
128| in fold' 0;
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/trivial.nix:927:47:
926|
927| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
| ^
928|
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/lists.nix:127:34:
126| then nul
127| else op (elemAt list n) (fold' (n + 1));
| ^
128| in fold' 0;
… while calling 'fold''
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/lists.nix:124:15:
123| len = length list;
124| fold' = n:
| ^
125| if n == len
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/nixos/modules/system/activation/top-level.nix:48:16:
47| # makes it bootable. See `activatable-system.nix`.
48| baseSystem = pkgs.stdenvNoCC.mkDerivation ({
| ^
49| name = "nixos-system-${config.system.name}-${config.system.nixos.label}";
… while calling 'mkDerivation'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/pkgs/stdenv/generic/make-derivation.nix:46:5:
45| mkDerivation =
46| fnOrAttrs:
| ^
47| if builtins.isFunction fnOrAttrs
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:254:72:
253| # For definitions that have an associated option
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
255|
… while evaluating the option `system.systemBuilderArgs':
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:858:59:
857| if isDefined then
858| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
859| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while calling 'merge'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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:
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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 anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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|
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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 calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:836:28:
835| # Process mkMerge and mkIf properties.
836| defs' = concatMap (m:
| ^
837| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating definitions from `/nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/nixos/modules/system/activation/activatable-system.nix':
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:837:128:
836| defs' = concatMap (m:
837| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
838| ) defs;
… while calling 'dischargeProperties'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:908:25:
907| */
908| dischargeProperties = def:
| ^
909| if def._type or "" == "merge" then
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/nixos/modules/system/activation/activation-script.nix:133:18:
132| apply = set: set // {
133| script = systemActivationScript set false;
| ^
134| };
… while calling 'systemActivationScript'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/nixos/modules/system/activation/activation-script.nix:49:9:
48|
49| ${textClosureMap id (withDrySnippets) (attrNames withDrySnippets)}
| ^
50|
… while calling 'textClosureMap'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/strings-with-deps.nix:75:35:
74|
75| textClosureMap = f: predefined: names:
| ^
76| concatStringsSep "\n" (map f (textClosureList predefined names));
… while calling 'id'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/trivial.nix:36:8:
35| */
36| id = x: x;
| ^
37|
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:254:72:
253| # For definitions that have an associated option
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
255|
… while evaluating the option `system.activationScripts.etc.text':
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:836:28:
835| # Process mkMerge and mkIf properties.
836| defs' = concatMap (m:
| ^
837| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating definitions from `/nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/nixos/modules/system/etc/etc-activation.nix':
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:837:128:
836| defs' = concatMap (m:
837| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
838| ) defs;
… while calling 'dischargeProperties'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:908:25:
907| */
908| dischargeProperties = def:
| ^
909| if def._type or "" == "merge" then
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/attrsets.nix:1571:24:
1570| let f = attrPath:
1571| zipAttrsWith (n: values:
| ^
1572| let here = attrPath ++ [n]; in
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/types.nix:607:29:
606| merge = loc: defs:
607| zipAttrsWith (name: defs:
| ^
608| let merged = mergeDefinitions (loc ++ [name]) elemType defs;
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:836:28:
835| # Process mkMerge and mkIf properties.
836| defs' = concatMap (m:
| ^
837| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating definitions from `/nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/nixos/modules/system/etc/etc.nix':
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:837:128:
836| defs' = concatMap (m:
837| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
838| ) defs;
… while calling 'dischargeProperties'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:908:25:
907| */
908| dischargeProperties = def:
| ^
909| if def._type or "" == "merge" then
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/attrsets.nix:273:39:
272| then value
273| else { ${elemAt attrPath n} = atDepth (n + 1); };
| ^
274| in atDepth 0;
… while calling 'atDepth'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/attrsets.nix:270:17:
269| len = length attrPath;
270| atDepth = n:
| ^
271| if n == len
… while evaluating derivation 'etc'
whose name attribute is located at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/pkgs/stdenv/generic/make-derivation.nix:332:7
… while evaluating attribute 'buildCommand' of derivation 'etc'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/pkgs/build-support/trivial-builders/default.nix:68:16:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/nixos/modules/system/etc/etc.nix:54:7:
53| mkdir -p "$out/etc"
54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
| ^
55| "makeEtcEntry"
… while calling 'concatMapStringsSep'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/strings.nix:116:5:
115| # List of input strings
116| list: concatStringsSep sep (map f list);
| ^
117|
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/nixos/modules/system/etc/etc.nix:54:33:
53| mkdir -p "$out/etc"
54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
| ^
55| "makeEtcEntry"
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/nixos/modules/system/etc/etc.nix:54:43:
53| mkdir -p "$out/etc"
54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
| ^
55| "makeEtcEntry"
… while calling 'concatMapStringsSep'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/strings.nix:116:5:
115| # List of input strings
116| list: concatStringsSep sep (map f list);
| ^
117|
… while calling 'escapeShellArg'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/strings.nix:454:20:
453| */
454| escapeShellArg = arg: "'${replaceStrings ["'"] ["'\\''"] (toString arg)}'";
| ^
455|
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-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/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:254:72:
253| # For definitions that have an associated option
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
255|
… while evaluating the option `environment.etc.dbus-1.source':
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:858:17:
857| if isDefined then
858| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
859| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:858:22:
857| if isDefined then
858| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
859| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while calling 'check'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/types.nix:534:15:
533| descriptionClass = "noun";
534| check = x: isStringLike x && builtins.substring 0 1 (toString x) == "/";
| ^
535| merge = mergeEqualOption;
… while evaluating derivation 'dbus-1'
whose name attribute is located at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/pkgs/stdenv/generic/make-derivation.nix:332:7
… while evaluating attribute 'serviceDirectories' of derivation 'dbus-1'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/pkgs/development/libraries/dbus/make-dbus-conf.nix:18:12:
17| {
18| inherit serviceDirectories suidHelper apparmor;
| ^
19| preferLocalBuild = true;
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/types.nix:552:14:
551| merge = loc: defs:
552| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
| ^
553| imap1 (m: def':
… while calling anonymous lambda
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:858:17:
857| if isDefined then
858| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
859| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… from call site
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/modules.nix:858:22:
857| if isDefined then
858| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
859| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while calling 'check'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/lib/types.nix:534:15:
533| descriptionClass = "noun";
534| check = x: isStringLike x && builtins.substring 0 1 (toString x) == "/";
| ^
535| merge = mergeEqualOption;
… while evaluating derivation 'system-path'
whose name attribute is located at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/pkgs/stdenv/generic/make-derivation.nix:332:7
… while evaluating attribute 'passAsFile' of derivation 'system-path'
at /nix/store/xr9wjzx0cdnwkmhzz74h8lphgn5jmyv3-source/pkgs/build-support/trivial-builders/default.nix:69:9:
68| inherit buildCommand name;
69| passAsFile = [ "buildCommand" ]
| ^
70| ++ (derivationArgs.passAsFile or [ ]);
error: nose-1.3.7 not supported for interpreter python3.12
Additional context
Add any other context about the problem here.
Notify maintainers
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
λ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.9.8, NixOS, 24.11 (Vicuna), 24.11.20240708.655a58a`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.1`
- nixpkgs: `/etc/nix/inputs/nixpkgs`
Add a :+1: reaction to issues you find important.
@jchv
FWIW the fix I had for this is in staging. You could try pulling it in if you want, am AFK right now.
What fix? I'm running into this and it's preventing me form rebuilding?
@pinpox I guess he is talking about this https://github.com/NixOS/nixpkgs/pull/325968 We just need to wait until it hit a channel
If you want to try it temporarily, you can use an overlay. Here's a quick'n'dirty overlay that should work:
nixpkgs.overlays = [
(final: prev: {
python312 = prev.python312.override {
packageOverrides = finalPkgs: prevPkgs: {
nose = prevPkgs.nose.overrideAttrs {
patches = [
(final.fetchpatch2 {
url = "https://github.com/NixOS/nixpkgs/raw/599e471d78801f95ccd2c424a37e76ce177e50b9/pkgs/development/python-modules/nose/0001-nose-python-3.12-fixes.patch";
hash = "sha256-aePOvO5+TJL4JzXywc7rEiYRzfdObSI9fg9Cfrp+e2o=";
})
];
};
};
};
python312Packages = final.python312.pkgs;
})
];
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/issue-building-nixos-due-to-sip-package/48702/9