apple_sdk_11_0.stdenv: replace extraBuildInputs with CF from 11.0 SDK #234863
Merged
toonn merged 1 commit intoNixOS:stagingfrom Jun 12, 2023
Merged
apple_sdk_11_0.stdenv: replace extraBuildInputs with CF from 11.0 SDK #234863toonn merged 1 commit intoNixOS:stagingfrom
toonn merged 1 commit intoNixOS:stagingfrom
Conversation
toonn
reviewed
Jun 10, 2023
Contributor
toonn
left a comment
There was a problem hiding this comment.
Is there a convenient test case where I can observe the wrong CF ending up in a build?
Contributor
Author
There was a problem hiding this comment.
I pushed an updated commit without the newline. I’m not sure how it ended up there, but it’s gone.
Contributor
Author
|
This test case demonstrates the issue. It’s mostly theoretical, but the idea is to avoid mixing SDKs at all to save having to troubleshoot cryptic build failures in the future. Given |
This can result in swift-corefoundation being included even when a derivation uses `apple_sdk_11_0.stdenv` directly, which may result in hard to debug compiler errors (unless you just happen to know cryptic compiler errors means the 10.12 and 11.0 SDKs have been mixed).
02c796e to
28fe4ee
Compare
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.
Description of changes
This can result in swift-corefoundation being included even when a derivation uses
apple_sdk_11_0.stdenvdirectly, which may result in hard to debug compiler errors (unless you just happen to know cryptic compiler errors means the 10.12 and 11.0 SDKs have been mixed).Things done
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/)