4 ms·
Have you seen the library function cleanSource() and related routines? I use these for excluding files (e.g. by filename extension) from being visible in builds
by lukego 9y ago
Have you seen the library function cleanSource() and related routines? I use these for excluding files (e.g. by filename extension) from being visible in builds. This might suit your use case too.
https://github.com/NixOS/nixpkgs/blob/master/lib/sources.nix https://github.com/NixOS/nixpkgs/blob/master/lib/sources.nix
- thinkpad20 9y agoYeah, and I use cleanSource, but I find it to be pretty obtuse and full of edge cases.