summaryrefslogtreecommitdiff
path: root/flora/services
diff options
context:
space:
mode:
Diffstat (limited to 'flora/services')
-rw-r--r--flora/services/cgit.nix6
1 files changed, 1 insertions, 5 deletions
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;
'';