-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
helix: fix build with clang 16 #268191
helix: fix build with clang 16 #268191
Conversation
Fix an implicit int error in one of the tree-sitter grammars.
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.
Result of nixpkgs-review pr 268191
run on x86_64-linux 1
1 package built:
- helix
Result of nixpkgs-review pr 268191
run on aarch64-darwin 1
1 package built:
- helix
Result of nixpkgs-review pr 268191
run on aarch64-linux 1
1 package failed to build:
- helix
Result of nixpkgs-review pr 268191
run on x86_64-darwin 1
1 package built:
- helix
Thanks! |
Not sure why but this broke the build at least on darwin x86 with home-manager:
|
Can you check the log further up to see what the error was and post that? That warning shouldn’t be causing the failure. FWIW, I tried building both from master and nixpkgs-unstable, and helix builds for me.
|
I concede it's weird because it builds fine when I do Here is the full error:
|
It might be a coincidence but I figured since the error originates from the patched file and they didn't update that derivation in home-manager since I had it working, it must be related. |
Oh wait is it because home-manager doesn't include this patch? Or this just hasn't hit nixpkgs-unstable yet? So weird that I could build fine a few days ago... EDIT: in all fairness I did update macOS today, not sure if related |
If I set
Is this your flake? It has Home Manager following nixos-unstable, which is behind master and nixpkgs-unstabl. nixos-unstable doesn’t have the fix in this PR yet.
|
Okay I think I get it. It should be fixed once nixos-unstable gets this patch and the problem probably appeared when I updated macOS today. Sorry for the confusion! I'll try again in a few days. (or switch to nixpkgs-unstable) |
If you switch to nixpkgs-unstable, Helix should build, but that may cause issues with NixOS since something is presumably preventing the nixos-unstable channel from advancing. |
I'm actually not using nixOS at the moment so should be fine to switch, thanks! |
Description of changes
Fix an implicit int error in one of the tree-sitter grammars.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)