Include Git in the deployment worker runtime

This commit is contained in:
rope 2026-09-14 15:21:14 +01:00
parent 02382f8446
commit 7bc5a4c852

View file

@ -4,7 +4,9 @@ let
worker = pkgs.writeShellApplication { worker = pkgs.writeShellApplication {
name = "fred-deploy-worker"; name = "fred-deploy-worker";
runtimeInputs = [ runtimeInputs = [
config.nix.package pkgs.systemd pkgs.iproute2 pkgs.iputils # Nix invokes git when refreshing the git+https flake. Transient units
# do not inherit the interactive shell's package PATH.
config.nix.package pkgs.git pkgs.systemd pkgs.iproute2 pkgs.iputils
pkgs.nftables pkgs.dig pkgs.curl pkgs.nftables pkgs.dig pkgs.curl
]; ];
text = '' text = ''