Robert Hensing
Robert Hensing
To resolve this I think we need - [ ] some way to specify filters using gitignore-syntax strings instead of real files - "package up" [this function](https://github.com/hercules-ci/gitignore/blob/ec4a0039152655b6c919d289dafd7ba32206ea1f/rules.nix#L147) - [ ]...
You can do `cleanSourceWith { filter = extraFilter; src = gitignoreSource somePath; }`, but this repo does not currently expose a function to implement `extraFilter` using gitignore _syntax_.
@alerque Please make sure all your gitignore.nix references are up to date with `master`, as we've merged #58 the other day, for running it in pure evaluation mode which did...
#61 adds support for extra gitignore rules to `gitignoreFilterWith`. Could you give it a try?
## [`gitignoreFilter` Docs](https://github.com/hercules-ci/gitignore.nix/blob/master/docs/gitignoreFilter.md)
I think we can generalize this to a function that isn't specific to `gitignore.nix`. Something like `unionFilterAndSource: (origSrc -> path -> type -> bool) -> src -> src`. It can...
Doesn't have to be _normal form_ though and my thinking was that set terminology is more natural here, because at this level we're thinking about sets of files rather than...
See https://github.com/NixOS/nixpkgs/pull/112083
> that set terminology is more natural here, because at this level we're thinking about sets of files rather than bools. This is a good first intuition but not entirely...
I hope to merge the refactoring and documentation bits of https://github.com/NixOS/nixpkgs/pull/176557 this month. It'd be nice to have links going from the tutorial to the reference manual. @fricklerhandwerk could you...