Over the past few weeks I’ve been working with @shlevy at Target to make an evaluation-time Nix fetcher for Git repositories. It has a few improvements documented in the readme, but briefly:
✓ way faster clones!
✓ shallow clones, sometimes!
✓ annotated tags!
✓ works with builtins.filterSource!
✓ morally pure if you follow good tagging etiquette!
Ideally we’ll be able to get the improvements upstream. We’ve gone this route to make it easier to prototype and prove out the changes.