3 ms·
You can also do the same thing with the nix package manager and pretty much any language or dependency. Like if you wanted a portable bash-script with imagemagi
by traverseda 2y ago
You can also do the same thing with the nix package manager and pretty much any language or dependency. Like if you wanted a portable bash-script with imagemagick
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p bash imagemagick
Handy for passing quick scripts around. Nothing is quite as portable as a single file like this.
- IshKebab 2y ago> Nothing is quite as portable as a single file like this. Well... a file that doesn't require Nix is probably a fair bit more portable!
- traverseda 2y agoSure, an appimage, the UV example above