summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-01-20 16:11:14 +0100
committertv <tv@krebsco.de>2026-01-20 16:11:14 +0100
commit5a444a8213f8339f878fcdc4cd2e13541a882322 (patch)
treeb150d77c87352e8d38c2c6f2a3264b3ebfd61538
parent24ae7ddd8f67bf9226391eaa365931f78c811b11 (diff)
htgen: use bash while dash is brokenHEADmaster
Since dash a065467, dash's read is broken when used with tcpserver. Example: when test.sh is `read test; echo test=$test`, then `echo test | socat STDIN SYSTEM:'dash test.sh'` will output `test=` instead of `test=test`.
-rw-r--r--krebs/5pkgs/simple/htgen/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/htgen/default.nix b/krebs/5pkgs/simple/htgen/default.nix
index 1ee13783b..c2c8ef50c 100644
--- a/krebs/5pkgs/simple/htgen/default.nix
+++ b/krebs/5pkgs/simple/htgen/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
{
- echo '#! ${pkgs.dash}/bin/dash'
+ echo '#! ${pkgs.bash}/bin/bash'
echo 'export PATH=${lib.makeBinPath [
pkgs.coreutils
pkgs.jq