-
Notifications
You must be signed in to change notification settings - Fork 20
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
Source filtering #13
Comments
This can also do this, right? https://github.com/numtide/nix-filter One would have manually set up the filters, however. |
Yeah, a basic solution is to make the src configurable for the package. (or packages #7 ) Users can then make use of any filtering library they like ( |
@roberth Is this still relevant? |
While technically the automated filtering can still be improved, I don't think it's significant or important enough. |
Does this mean something like don't let |
Changes to unrelated files cause rebuilds, especially when the package is at the root of the repo, where non-package files have no other place to go.
Some solutions:
a. parse the cabal file in Nix: no experimental features required, but somewhat hard to get right, not future proof
b. or use ca-derivations with buildFromSdist or buildFromCabalSdist (NixOS/nixpkgs#174176)
The text was updated successfully, but these errors were encountered: