neovim: add ldflag for treesitter plugins requiring libstdc++#155688
neovim: add ldflag for treesitter plugins requiring libstdc++#155688jonringer merged 1 commit intoNixOS:masterfrom Thornycrackers-Forks:master
Conversation
|
refs #147658 (review) |
|
I think this broke the build on darwin (see https://hydra.nixos.org/build/165247176), should this flag be removed on that system? Build log |
|
Can confirm that this broke at least darwin/arm64, just tested locally and am having the same build errors as hydra link |
|
I checked both arm64 and amd64 machines, they're Monterey and Catalina respectively. |
|
Same here on Monterey amd64. |
|
Can confirm that simply doing pkgs.neovim.overrideAttrs (oldAttrs: rec {
NIX_LDFLAGS = [ ];
})makes |
|
I'll scope to just glibc then |
|
Why isn't it the default that such changes are also tested against all other relevant architectures before merging it into master? (darwin in this particular situation) |
The main thing is just darwin user participation. |
|
As for availability, the build doesn't take that long and you can update to the latest master by using that as a channel / flake input, so I'm not complaining about that 🙂 I wish some kind of checking was done as part of each PR but it's understandable that it's difficult right now. |
|
darwin builds don't get kicked off for ofborg normally, unless you're added to a trusted user list (this may have changed). But the reasoning was that darwin builds can't be properly sandboxed. Example PR with x86_64-linux, aarch64-darwin, and aarch64-linux are kicked off: #156836 |
Thank you for clarifying. Makes sense how you put it. Given your explanation and example I see we aren't there yet, unfortunately. |
Motivation for this change
#147658
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 notesThis just completes the review from #147658 so that it can get merged. It's a longstanding issue with a very simple change so I'm just trying to help it along. Thanks @jonringer for reviewing the original.