3 ms·
I feel like I'm slowly becoming a Nix shill, but... Nix is a good alternative as well. Install Nix in one command: sh <(curl -L https://nixos.org/nix/inst
by throwamon 4y ago
I feel like I'm slowly becoming a Nix shill, but... Nix is a good alternative as well.
Install Nix in one command:
sh <(curl -L https://nixos.org/nix/install) --no-daemon
Then run Magic Wormhole in one command, without even having to install it:
nix-shell -p magic-wormhole --run 'wormhole send myfile'
- fprotthetarball 4y agoI've been trying out Nix lately and did something similar to get a croc binary. My system package manager didn't have croc and also didn't have the Go version required to compile croc, but Nix did have the latest Go. Ran this: nix-shell -p go --run "go install github.com/schollz/croc/v9@latest" and got it compiled. In retrospect, I should have just used the croc package in Nix, but the simplicity of this approach is a vast improvement over the alternative of getting Go myself and cluttering up my system with random build tools for one-off compilations.