[staging] boost: bump default version to 1.7x#120259
[staging] boost: bump default version to 1.7x#120259hjones2199 wants to merge 3926 commits intoNixOS:stagingfrom
Conversation
SuperSandro2000
left a comment
There was a problem hiding this comment.
diff LGTM but we need to check the outfall and try to minimize the breakage.
|
I assume this is going to have to wait until after ZHF/21.05 release now? |
| boost175 = callPackage ../development/libraries/boost/1.75.nix { }; | ||
| boost17x = boost175; | ||
| boost = boost16x; | ||
| boost = boost17x; |
There was a problem hiding this comment.
I am not sure about this change. It is probably going to break a lot and I can't really test it right now because my usual test packages are not building on staging.
There was a problem hiding this comment.
I've had a hard time testing this due to the sheer number of packages that need to be re-built. If someone with the storage space and will to do a comprehensive nixpkgs-review test on it (or some other mechanism of seeing what packages are broken), I can do a regex replace boost -> boost16x for anything that wont build with the newer version.
There was a problem hiding this comment.
I have a quite beefy remote build farm available but I can't build 5000+ packages. I don't know how we should continue with this PR.
@jonringer can you assist?
There was a problem hiding this comment.
Targeting at a merge base of staging and master makes more sense, there binary cache should be available for testing.
|
Keep in mind that, after this PR is merged, or even with this PR, we should also remove all overrides of packages where: boost = boost17x;As of now I count 11 occurences in |
rdedup: 3.1.1 -> 3.2.1
sdparm: 1.11 -> 1.12
SPAdes: 3.15.2 -> 3.15.3
terraform: 1.0.6 -> 1.0.7
Motivation for this change
Most packages that depend on the boost libraries in nixpkgs are pointing at the unversioned "boost" package. Unversioned boost is currently 1.69.0, which was released in 2018. This should be updated to the newest boost library available in nixpkgs (1.75). I expect build-time breakages, but it should be fairly straightforward to pin broken packages to an older boost revision once they are identified.
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)