[staging-next] stdenvBootstrapTools: fix cycle on aarch64-darwin#196909
Merged
vcunat merged 1 commit intoNixOS:stagingfrom Nov 5, 2022
Merged
[staging-next] stdenvBootstrapTools: fix cycle on aarch64-darwin#196909vcunat merged 1 commit intoNixOS:stagingfrom
vcunat merged 1 commit intoNixOS:stagingfrom
Conversation
b86514e to
147d564
Compare
Member
|
Retargeted due to too many rebuilds on darwin. |
147d564 to
e0c70d5
Compare
Contributor
Author
|
Ping! I was told this issue would block a 22.11 release channel for Darwin. In that case, we may have only a couple staging-next cycles left to merge this? |
Member
|
I approve of the compiler-rt changes, no clue about everything else. |
92 tasks
Member
|
The error message changed, but it's still failing on Hydra: |
Contributor
Author
|
I'm away for a few more days, but I appear to have broken it in #185766 by introducing |
13 tasks
13 tasks
rrbutani
added a commit
to rrbutani/nixpkgs
that referenced
this pull request
Dec 14, 2022
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
rrbutani
added a commit
to rrbutani/nixpkgs
that referenced
this pull request
Jan 8, 2023
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
ElvishJerricco
pushed a commit
to ElvishJerricco/nixpkgs
that referenced
this pull request
Jan 8, 2023
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
rrbutani
added a commit
to rrbutani/nixpkgs
that referenced
this pull request
Jan 10, 2023
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
rrbutani
added a commit
to rrbutani/nixpkgs
that referenced
this pull request
Jan 27, 2023
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
rrbutani
added a commit
to rrbutani/nixpkgs
that referenced
this pull request
Jan 27, 2023
…= "glibc"` This restores this check to what it originally was in NixOS#196909 (see: NixOS#196909 (comment)) and lets `compiler-rt` eval successfully when trying to compile the `llvmPackages_15` set for mingw targets (i.e. a platform that *is* GNU but does *not* use glibc). --- It's not clear to me what the `haveLibc` check is doing here (platforms that seem to use glibc like `x86_64-linux` and have `plat.libc == "glibc"` have `haveLibc = false` because `stdenv.cc.libc` is `null`).
github-actions bot
pushed a commit
that referenced
this pull request
Jan 28, 2023
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change (cherry picked from commit 3b6d98d)
github-actions bot
pushed a commit
that referenced
this pull request
Jan 28, 2023
…= "glibc"` This restores this check to what it originally was in #196909 (see: #196909 (comment)) and lets `compiler-rt` eval successfully when trying to compile the `llvmPackages_15` set for mingw targets (i.e. a platform that *is* GNU but does *not* use glibc). --- It's not clear to me what the `haveLibc` check is doing here (platforms that seem to use glibc like `x86_64-linux` and have `plat.libc == "glibc"` have `haveLibc = false` because `stdenv.cc.libc` is `null`). (cherry picked from commit d729907)
K900
pushed a commit
that referenced
this pull request
Jan 28, 2023
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
K900
pushed a commit
that referenced
this pull request
Jan 28, 2023
…= "glibc"` This restores this check to what it originally was in #196909 (see: #196909 (comment)) and lets `compiler-rt` eval successfully when trying to compile the `llvmPackages_15` set for mingw targets (i.e. a platform that *is* GNU but does *not* use glibc). --- It's not clear to me what the `haveLibc` check is doing here (platforms that seem to use glibc like `x86_64-linux` and have `plat.libc == "glibc"` have `haveLibc = false` because `stdenv.cc.libc` is `null`).
xanderio
pushed a commit
to xanderio/nixpkgs
that referenced
this pull request
Feb 13, 2023
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
xanderio
pushed a commit
to xanderio/nixpkgs
that referenced
this pull request
Feb 13, 2023
…= "glibc"` This restores this check to what it originally was in NixOS#196909 (see: NixOS#196909 (comment)) and lets `compiler-rt` eval successfully when trying to compile the `llvmPackages_15` set for mingw targets (i.e. a platform that *is* GNU but does *not* use glibc). --- It's not clear to me what the `haveLibc` check is doing here (platforms that seem to use glibc like `x86_64-linux` and have `plat.libc == "glibc"` have `haveLibc = false` because `stdenv.cc.libc` is `null`).
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 fixes the issue highlighted in: #186575 (comment)
There were actually two culprits:
trivial-builders.nixto write shell scripts forxcbuild.xcrun, but those rely onruntimeShellwhich is apparently not possible at this stage. (I guess they create a dependency on the final stdenv, instead of whatever stdenv stage is part of bootstrap-tools?)I only tested evaluation of
{aarch64,x86_64}-darwin.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/)nixos/doc/manual/md-to-db.shto update generated release notes