Closed spacebanana420 closed 1 year ago
Bisect has identified https://github.com/NixOS/nixpkgs/pull/238978 (specifically 0fe7fee623de691acff1db0178de01e39a22319d) as the source of this failure in nixpkgs, cc @fpletz. See also upstream issue https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1800.
If you're using a flake, this is how I was able to mitigate this until it's fixed.
I rolled back the changes from #238978 in a branch on my fork, and used it as an overlay for the affected packages like this:
inputs = {
...
nixpkgs-colorio-fix.url =
"github:cafkafk/nixpkgs/cafkafkdev-colorio-downgrade";
...
};
This is how you would add them to your overlay:
overlay = final: prev: {
...
inherit (nixpkgs-colorio-fix.legacyPackages.${prev.system})
zlib-ng minizip-ng;
...
}
Ofc, depending on how you do stuff, you'll have to fiddle with it a bit to get it to work.
I found this helpful: https://astrid.tech/2022/11/03/0/overlay-nixpkgs-pr/
The fix is now on the nixos-unstable branch, but I still cannot build my system after updating, with the same build failure for opencolorio. Is this expected?
Probably not, since opencolorio and blender both build on Hydra.
Oh thank you, this is very bizarre. I will ask on the forum what's going on
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/something-is-wrong-with-my-system-update/30077/1
Steps To Reproduce
environment.systemPackages = with pkgs; [blender]
sudo nixos-rebuild switch --upgrade
Build log
Full log here
Notify maintainers
@cillianderoiste @veprbl @rastertail
Metadata