Probably not useful to anyone but me, but I created `dash-nix` today. I am not sure if there is a bigger goal here, but it isn’t very easy to run a non-Bash shell with #Nix like Debian, Ubuntu, & Void—where they gain portability/#POSIX-compliance for their scripts as well as performance using #Dash over Bash in noninteractive settings. I have been playing around with Dash scripts for a while & I decided to try making a runDashCommand command to see it doesn’t seem happy to override the runtime shell or builder. I wrote a little version using `builtins.derivation` + the helpers for `writeDashScript` + `writeDashBinScript` so I no longer need to keep duplicating that code (while also enuring safer scripts with shellDryRun, checkbashism, & shell check). If that is of interest to you, you can checkout out one of the mirrors (conveniently, my other tool #Nixtamal supports mirrors as well):
• https://smeder.ee/~toastal/dash-nix
• https://hub.darcs.net/toastal/dash-nix/
• https://darcs.toastal.in.th/dash-nix/