From 5a444a8213f8339f878fcdc4cd2e13541a882322 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 20 Jan 2026 16:11:14 +0100 Subject: htgen: use bash while dash is broken 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`. --- krebs/5pkgs/simple/htgen/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3