zlib: fix compiler detection#167808
Merged
vcunat merged 1 commit intoNixOS:staging-nextfrom Apr 10, 2022
Merged
Conversation
Member
Apply patch that already has been applied upstream: - madler/zlib#607 - madler/zlib@05796d3 (cherry picked from commit f091c0e)
48677ea to
e3d9b21
Compare
Member
Author
Member
|
Hmm, the huge rebuild is quite a complication. We already picked the commit for 21.11 and are rebuilding it now, so it seems that comes first: #167647 Then it will be a question whether to just do normal staging (i.e. drop this PR as the change is there already) or restrict the rebuild of this PR, at least to cause no rebuild on Linux. |
Member
|
Confirmation for x86_64: https://hydra.nixos.org/build/172739285 |
Contributor
|
Yeah, I went through staging since it's a stdenv rebuild. I think we'll just have to go through the normal flow here? Maybe it could be optionally enabled for darwin and cross for now, but that's still a lot of rebuilds for darwin, so I don't see that helping a lot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This causes a regression on Darwin that resulted in the library having
the
.soextension instead of the correct.dylibextension. Downstream builds like qtbase then can't find zlib.
Description of changes
Fix for channel blocking #167708
This is going to be a lot of building. Sending this to
stagingwill keep the channels blocked for a long time, so it's directed atmaster. The bug is present wheneverCCis set, which in nixpkgs it always is, so it should apply to all platforms. Somehowzlibis working on linux, so it could be conditional to skip some builds. Is it worth it?Things done
zlibonly)sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes