Microblog 5
·1 min
Note to self: when writing scripts depending on more than a couple of other binaries, it’s better to
use pkgs.writeShellApplication
rather than pkgs.writeShellScriptBin
.
This way you can safely use binary
instead of ${pkgs.package}/bin/binary
.