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

feat(nix): use filesets #772

Merged
merged 1 commit into from
Dec 29, 2024
Merged

feat(nix): use filesets #772

merged 1 commit into from
Dec 29, 2024

Conversation

konradmalik
Copy link
Contributor

@konradmalik konradmalik commented Dec 25, 2024

Allows to be specific about which files should be inputs to which derivation.

The biggest advantages:

  • a change in nix file won't trigger plugin nor rust lib rebuild (ofc unless the build function itself changes)
  • a change in lua, docs etc. won't trigger rust lib rebuild

Usage is pretty simple, see the comments I've added.

@konradmalik konradmalik force-pushed the filesets branch 2 times, most recently from 5927a80 to b5f0230 Compare December 25, 2024 11:29
@vinnymeller
Copy link
Contributor

very cool, have never come across filesets

Allows to be specific about which files should be inputs to which derivation.
The biggest advantages:
- a change in nix file won't trigger plugin nor rust lib rebuild
- a change in lua, docs etc. won't trigger rust lib rebuild
@Saghen Saghen merged commit e524347 into Saghen:main Dec 29, 2024
@Saghen
Copy link
Owner

Saghen commented Dec 29, 2024

Thanks again!

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.

3 participants