-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
pkgsMusl.vte: fix build #193930
pkgsMusl.vte: fix build #193930
Conversation
Needs more investigation. The comment is not true, it is not a thing of the gcc version, it just doesn't work with gcc on aarch64 at all. |
Matrix of where vte is working and where not: ✅ musl + x86 + gcc aarch64 + gcc9 => missing c++20 support musl + clang fails for some weird reason where meson thinks the compiler doesn't support the |
the musl + clang failure is the following: meson compiles a test program with This can be fixed either by
or by
or by switching to gcc stdenv for musl (would not recommend since that won't work on aarch64+musl) |
I also saw that, and afterwards chose to use a different approach: not changing anything about the stdenv used (use clangStdenv everywhere) but instead adding a fix for the musl + clang combination |
Result of 5 packages marked as broken and skipped:
94 packages built:
|
Description of changes
"Needs GCC ≥10 but aarch64 defaults to GCC 9."Actually it needs gcc11+, so use gcc11Stdenv explicitly on aarch64, and the default stdenv otherwise.This fixes pkgsMusl.vte.
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