-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bootstrap-tools: disable iconv for the hello
test
#158517
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nix-build pkgs/stdenv/darwin/make-bootstrap-tools.nix -A test
builds on x86_64-darwin
@NixOS/darwin-maintainers, is anyone available to test on aarch64-darwin? |
Result of 1 package built:
|
@siraben Running |
You merged a broken commit. On
|
The command posted above gave me:
|
@zowoq ah, wasn't aware. Apologies for the premature merge! |
Large parts of nixpkgs aren't tested by |
Surprising! Did it build before? |
Could someone on aarch64-darwin please test #158530 and confirm that it does actually build? |
Looks like it failed with the same error anyway: #158530 (comment)
I won't bother merging the revert for now but I'll check the @jonringer @vcunat Can we merge |
Strangely enough, the test job is included for x86_64-darwin: nixpkgs/pkgs/top-level/release.nix Line 184 in 60c52a7
but not for aarch64-darwin nixpkgs/pkgs/top-level/release.nix Lines 194 to 195 in 60c52a7
It could be because it still uses cross compilation: nixpkgs/pkgs/top-level/release.nix Line 192 in 60c52a7
(notice how https://hydra.nixos.org/eval/1742780?filter=stdenvBootstrapTools&compare=1742696&full= is built on x86_64-darwin) |
I'm sure @thefloweringash knows what TODO is left here |
There is: https://hydra.nixos.org/job/nixpkgs/nixpkgs-unstable-aarch64-darwin I agree it's easy to miss. For example once I forgot about it when comparing regressions from Keeping the platform in a separate jobset (for now) was a decision of the infra team. Based on experience so far (e.g. the |
Also, I accidentally noticed this package regressing from hello update: https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.spike.x86_64-linux |
IIRC, when this was added there were few (or no?) aarch64-darwin builders on hydra, and the support for the platform in nixpkgs was still young. I don't think there's any technical reason that aarch64-darwin needs to be special, it's more a question of if aarch64-darwin on hydra and nixpkgs is considered mature enough to be self hosting. |
From the hydra.nixos.org point of view, aarch64-darwin seems maybe even better supported than x86_64-darwin, and in future it's unlikely to shift the other way anymore. One issue is that it's apparently difficult to get reasonable Apple x86 HW (in terms of cost- and power- efficiency). Even to the point of using M1 emulation for x86, though some builds do have issues with that. I'm avoiding darwin stuff; |
Motivation for this change
Things done
sandbox = true
set 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.sh
to update generated release notes