Perlpimp
AboutCVBlogContact

fish

March 22, 2026

writeShellScriptBin — Why Every Nix Flake Script Needs an Explicit Shell

Nix devShells inherit the user's login shell. If your flake defines shell functions or scripts without writeShellScriptBin, they silently break for anyone not running bash. Here's the fix — and the stricter variant you probably want instead.

© 2026 Ian Johannesen

Built with Zola + Nix · Fork on GitHub · Atom · RSS