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
.
It seems today is the day when I’m going to have to write some JavaScript
code again. The reason? I am working on some complex yew
components (Rust +
WebAssembly if you’re not familiar with it), and unfortunately yew
doesn’t
support component testing, so I’ll need to write e2e tests using cypress
.