hercules-ci / gitignore.nix

Nix functions for filtering local git sources
The Unlicense
242 stars 19 forks source link

Make gitignoreSourceWith short-circuit #67

Closed deviant closed 4 months ago

deviant commented 5 months ago

This has been broken since its introduction due to a typo. lib.cleanSourceWith uses the field origSrc to store the initial path prior to processing— which is presumably what the author intended.

With this change, gitignoreSource (lib.sources.trace /path/to/repo) no longer incorrectly prints ignored paths.

roberth commented 4 months ago

Thanks!