News for hackers. Stuff that matters.
Re:Nix 2.0 Released by dtzWill on Friday February 23, 2018 @01:51AM (#16444710)
If what you're dealing with is actually a git repository, in 2.0 you can just use "src = fetchGit ./.;"-- this is what the expression for building Nix itself does :).

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! :)

There are no comments on this comment yet.