Open mirql opened 2 months ago
@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
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
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.Add a :+1: reaction to issues you find important.