by thinkpad20 · 8y ago · 0 comments
Otherwise you can use filterSource (documented in the linked article, the Nix manual) to roll your own filtering.
If you have any problems with either of these I encourage you to join #nixos on freenode and ask. Hope this helps! :)
https://github.com/NixOS/nixpkgs/blob/master/lib/sources.nix