From 1c3cdb07a5c70d753182d73ed3f9b3a3a1113ad8 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 12 Nov 2022 23:56:15 +0100 Subject: update inputs --- flora/services/cgit.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'flora') diff --git a/flora/services/cgit.nix b/flora/services/cgit.nix index 11c6d72..046d837 100644 --- a/flora/services/cgit.nix +++ b/flora/services/cgit.nix @@ -54,10 +54,6 @@ let clone-url=https://stuebinm.eu/git/forks/$CGIT_REPO_URL scan-path=/var/git/forks ''; - - cgit = pkgs.cgit.overrideAttrs (old: { - patches = [ ./0001-main-instead-of-master-branch.patch ]; - }); in { services.fcgiwrap = { @@ -73,7 +69,7 @@ in locations."~ /git(/.*)".extraConfig = '' fastcgi_pass unix:${config.services.fcgiwrap.socketAddress}; include ${pkgs.nginx}/conf/fastcgi_params; - fastcgi_param SCRIPT_FILENAME ${cgit}/cgit/cgit.cgi; + fastcgi_param SCRIPT_FILENAME ${pkgs.cgit}/cgit/cgit.cgi; fastcgi_param CGIT_CONFIG ${pkgs.writeText "cgit.conf" cgitconf}; fastcgi_param PATH_INFO $1; ''; -- cgit v1.2.3