From 7534fab542705a5b2fd3fcd7d890a5cd5cb60afe Mon Sep 17 00:00:00 2001 From: stuebinm Date: Fri, 24 Mar 2023 15:04:48 +0100 Subject: flora: use gitMinimal everywhere this is probably not strictly necessary (git & gitMinimal should deduplicate nicely), it's just weird to have two of them. --- flora/services/cgit.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'flora') diff --git a/flora/services/cgit.nix b/flora/services/cgit.nix index 5c7410c..032ec1d 100644 --- a/flora/services/cgit.nix +++ b/flora/services/cgit.nix @@ -80,7 +80,7 @@ in extraConfig = '' fastcgi_pass unix:${config.services.fcgiwrap.socketAddress}; include ${pkgs.nginx}/conf/fastcgi_params; - fastcgi_param SCRIPT_FILENAME ${pkgs.git}/bin/git-http-backend; + fastcgi_param SCRIPT_FILENAME ${pkgs.gitMinimal}/bin/git-http-backend; fastcgi_param GIT_HTTP_EXPORT_ALL ""; fastcgi_param GIT_PROJECT_ROOT /var/git/public; fastcgi_param PATH_INFO $1; @@ -91,7 +91,7 @@ in extraConfig = '' fastcgi_pass unix:${config.services.fcgiwrap.socketAddress}; include ${pkgs.nginx}/conf/fastcgi_params; - fastcgi_param SCRIPT_FILENAME ${pkgs.git}/bin/git-http-backend; + fastcgi_param SCRIPT_FILENAME ${pkgs.gitMinimal}/bin/git-http-backend; fastcgi_param GIT_HTTP_EXPORT_ALL ""; fastcgi_param GIT_PROJECT_ROOT /var/git/forks; fastcgi_param PATH_INFO $1; @@ -104,7 +104,7 @@ in openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys; home = "/var/git"; isNormalUser = true; - packages = [ pkgs.git ]; + packages = [ pkgs.gitMinimal ]; }; networking.firewall.allowedTCPPorts = [ 80 443 ]; -- cgit v1.2.3