Y
Hacker News
new
|
ask
|
show
|
jobs
by
lukego
3034 days 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
1 comments
thinkpad20
3034 days ago
Yeah, and I use cleanSource, but I find it to be pretty obtuse and full of edge cases.
link