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

cli: re-enable 'watchman' support when 'packaging' is enabled #2237

Closed
wants to merge 1 commit into from

Conversation

thoughtpolice
Copy link
Collaborator

Summary: 70f6e0a enabled watchman by default in the default features set, but removed it from the 'packaging' set. But features are not 'additive' by default. When building the Nix flake from this repository, it uses --features packaging, which no longer enables watchman, because it was removed.

The easiest solution is probably just to ensure 'packaging' is always a superset of 'default', but I'm not sure of a way to do this.

Summary: 70f6e0a enabled watchman by default in the *default* features set, but
removed it from the 'packaging' set. But features are not 'additive' by default.
When building the Nix flake from this repository, it uses --features packaging,
which no longer enables watchman, because it was removed.

The easiest solution is probably just to ensure 'packaging' is always a superset
of 'default', but I'm not sure of a way to do this.

Signed-off-by: Austin Seipp <[email protected]>
Change-Id: Ia31d5b98e0324a2b19014a3cae25672d
@martinvonz
Copy link
Member

I thought features were additive. Oh, could the real reason I broke it be that the Nix flake disables default features? Could you update the description if you agree with that?

@thoughtpolice
Copy link
Collaborator Author

Oh, I missed that too. I can fix that, yeah.

@thoughtpolice
Copy link
Collaborator Author

Actually, just fixing this in the Flake is, IMO, better. I'll just abandon this and put up that patch, instead.

@thoughtpolice thoughtpolice deleted the push-vzsxrynpmunv branch September 8, 2023 22:52
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.

2 participants