diff options
author | stuebinm | 2022-11-12 23:56:15 +0100 |
---|---|---|
committer | stuebinm | 2022-11-12 23:56:15 +0100 |
commit | 1c3cdb07a5c70d753182d73ed3f9b3a3a1113ad8 (patch) | |
tree | 3cfec83fd1988c1a6ddbc51bf7afb00431d43365 /flora/services | |
parent | bf87b3460ac23d77f2585d247292f40616f59c4b (diff) |
update inputs
Diffstat (limited to '')
-rw-r--r-- | flora/services/cgit.nix | 6 |
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; ''; |