Microblog 6
·1 min
A good list of nix anti-patterns: https://nix.dev/anti-patterns/language, I am not sure why I haven’t found this before.
A good list of nix anti-patterns: https://nix.dev/anti-patterns/language, I am not sure why I haven’t found this before.
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
.