From 51a6274bcc0b292d691db7472e400b7b5d3b00e3 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Fri, 15 May 2026 11:26:05 +0100 Subject: [PATCH] nix: add bash to knotserver's bin path was causing hooks to not run on PR merge Signed-off-by: oppiliappan --- nix/modules/knot.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/modules/knot.nix b/nix/modules/knot.nix index 6f7464d1..558bc6e1 100644 --- a/nix/modules/knot.nix +++ b/nix/modules/knot.nix @@ -264,6 +264,7 @@ in PermissionsStartOnly = true; WorkingDirectory = cfg.stateDir; Environment = [ + "PATH=${lib.makeBinPath [pkgs.bash pkgs.git pkgs.coreutils]}:/run/current-system/sw/bin" "KNOT_REPO_SCAN_PATH=${cfg.repo.scanPath}" "KNOT_REPO_README=${concatStringsSep "," cfg.repo.readme}" "KNOT_REPO_MAIN_BRANCH=${cfg.repo.mainBranch}" -- 2.51.2