What is Nostr?
eh /
npub1gns…c2ap
2024-09-02 11:29:51

eh on Nostr: I often run commands such as `nix run nixpkgs#live-server` because I want to run a ...

I often run commands such as `nix run nixpkgs#live-server` because I want to run a tool without adding it to my environment.

However, if it's been a little while since I last used `nix run`, this first downloads 40+ MiB of…stuff, spins for a bit, and only *then* downloads the tool (and any deps) and runs it.

I guess this is because the `nixpkgs` flake was updated(?), but I really don't need to be on the tip of `nixpkgs-unstable` when I run some silly tool. Is there a better way of doing this that I should know about? :)

#nix
Author Public Key
npub1gnspramds3vmh6nseshe8gcpylhcw95dwzd6ssjnz44nqs9d34eq9gc2ap