4 ms·
You can still `nix run` packages using niv -- no clue what you talking about. You can also just look at the niv sources.json file pretty easily if you knew the
by setheron 3y ago
You can still `nix run` packages using niv -- no clue what you talking about.
You can also just look at the niv sources.json file pretty easily if you knew the URL. Rather trivial command to run.
I don't find the above compelling (or correct?)
- biggestlou 3y agonix run github:DeterminateSystems/flake-checker What's the Niv equivalent of this?
- 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.