News for hackers. Stuff that matters.
Re:Nix 2.0 Released by lukego on Friday February 23, 2018 @04:37AM (#16445244)
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

Re:Nix 2.0 Released by thinkpad20 on Friday February 23, 2018 @12:11PM (#16447630)
Yeah, and I use cleanSource, but I find it to be pretty obtuse and full of edge cases.