From c1615b09c5c79cda5cb426993fe23b451cc6cd6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Fri, 18 Feb 2022 20:17:23 +0100 Subject: [PATCH] =?UTF-8?q?add=20git=20to=20nix=E2=80=99s=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/services/autodeploy.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/services/autodeploy.nix b/config/services/autodeploy.nix index 23bd21b3..ba5c8131 100644 --- a/config/services/autodeploy.nix +++ b/config/services/autodeploy.nix @@ -35,7 +35,7 @@ let script = '' deploy_finished - ${pkgs.nixUnstable}/bin/nix flake update + PATH="${pkgs.gitMinimal}/bin:$PATH" ${pkgs.nixUnstable}/bin/nix flake update ${pkgs.gitMinimal}/bin/git commit -am "Automatic nixpkgs update" ${pkgs.gitMinimal}/bin/git push origin main