4 ms·
# non-flake $ nix run -f https://github.com/fzakaria/mvn2nix/archive/master.tar.gz https://github.com/fzakaria/mvn2nix/archive/master.tar.gz --command mvn2nix
by setheron 3y ago
# non-flake
$ nix run -f https://github.com/fzakaria/mvn2nix/archive/master.tar.gz https://github.com/fzakaria/mvn2nix/archive/master.tar.gz --command mvn2nix
# flake
$ nix run github:fzakaria/mvn2nix#mvn2nix
- biggestlou 3y agomvn2nix is a flake, though. How would I run a project that uses Niv and isn't a flake?
- setheron 3y agoI actually support both by having default.nix At this point I recommend we take this through another medium like email or feel free to open up a discourse to help fill in the knowledge gap. Feel free to tag me on it.
- pxc 3y agoThe -f is for 'file', and when you point it at a directory or repo/archive path, it resolves to a default.nix file rather than a flake.nix file.