nmattia / niv

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

Autodetect file type #263

Open nmattia opened 4 years ago

nmattia commented 4 years ago

A call like niv add https://foo.bar should infer the type file. In particular, a call like this:

$ niv add https://ftp.mozilla.org/pub/firefox/releases/78.0.2/mac-EME-free/en-GB/Firefox%2078.0.2.dmg

should

i.e. add the source firefox with type file