Skip to content
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

nix: add meta.mainProgram to silence nix warning #2157

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

joshryandavis
Copy link
Contributor

Nix now warn users if a package does not have meta.mainProgram set.

This is because of NixOS/nixpkgs#246386.

This PR simply adds meta.mainProgram = "zls"; to the flake.nix.

@Techatrix Techatrix linked an issue Jan 31, 2025 that may be closed by this pull request
Copy link
Member

@Techatrix Techatrix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Techatrix Techatrix merged commit d3d11a0 into zigtools:master Feb 1, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flake.nix should contain meta.mainProgram
2 participants