summaryrefslogtreecommitdiff
path: root/flora/services/cgit.nix
diff options
context:
space:
mode:
authorstuebinm2022-11-12 23:56:15 +0100
committerstuebinm2022-11-12 23:56:15 +0100
commit1c3cdb07a5c70d753182d73ed3f9b3a3a1113ad8 (patch)
tree3cfec83fd1988c1a6ddbc51bf7afb00431d43365 /flora/services/cgit.nix
parentbf87b3460ac23d77f2585d247292f40616f59c4b (diff)
update inputs
Diffstat (limited to 'flora/services/cgit.nix')
-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;
'';