From a0da197388a5c3c9a792a31ddb9733bec2a9cf0a Mon Sep 17 00:00:00 2001 From: Lautaro Emanuel Date: Tue, 19 May 2026 13:21:57 -0300 Subject: [PATCH 1/3] Use interactive bash --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index f72fa23f..bb193120 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,8 @@ cargo-machete protobuf oas3-gen + + bashInteractive ]; shellHook = '' From 886c2dbe0bbb8e6c227bc067ca733001fcf2e6ca Mon Sep 17 00:00:00 2001 From: Lautaro Emanuel Date: Tue, 19 May 2026 13:39:11 -0300 Subject: [PATCH 2/3] Check for `compgen` builtin --- scripts/dkg-runner/run.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/dkg-runner/run.sh b/scripts/dkg-runner/run.sh index 5c2729ec..e3f62a78 100755 --- a/scripts/dkg-runner/run.sh +++ b/scripts/dkg-runner/run.sh @@ -73,6 +73,11 @@ if ! command -v jq >/dev/null 2>&1; then exit 1 fi +if ! type -t compgen >/dev/null 2>&1; then + log_err "compgen builtin is required (bash must be built with programmable completion)" + exit 1 +fi + if is_truthy "${RUN_SMOKE_VERIFY}" && ! command -v curl >/dev/null 2>&1; then log_err "curl is required for runtime smoke verification" exit 1 From 6378829870f23dea8e9c692af3e50143caf141fd Mon Sep 17 00:00:00 2001 From: Lautaro Emanuel Date: Tue, 19 May 2026 13:46:12 -0300 Subject: [PATCH 3/3] Formatting --- flake.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index bb193120..aeb2e905 100644 --- a/flake.nix +++ b/flake.nix @@ -26,13 +26,12 @@ { devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ + bashInteractive cargo-deny cargo-llvm-cov cargo-machete protobuf oas3-gen - - bashInteractive ]; shellHook = ''