nmattia / niv

Easy dependency management for Nix projects
https://github.com/nmattia/niv
MIT License
1.52k stars 74 forks source link

Add the ability to pass submodules to builtins.fetchGit #345

Closed georgyo closed 2 years ago

georgyo commented 2 years ago

Related to #58 and the need to sometimes fetch submodules.

This allows you to use -a submodule=true on a niv add or update command to make it also fetch submodules. It also ensure the nix version will actually be able to understand that argument.