diff options
Diffstat (limited to 'hosts/ahmed/git.linus.onl')
-rw-r--r-- | hosts/ahmed/git.linus.onl/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hosts/ahmed/git.linus.onl/default.nix b/hosts/ahmed/git.linus.onl/default.nix index bf9fe0b..fcee268 100644 --- a/hosts/ahmed/git.linus.onl/default.nix +++ b/hosts/ahmed/git.linus.onl/default.nix @@ -91,9 +91,11 @@ in { services.nginx.virtualHosts."git.linus.onl" = { locations."~ /.+/(info/refs|git-upload-pack)".fastcgiParams = { SCRIPT_FILENAME = lib.mkForce "${pkgs.git.overrideAttrs (old: { - patches = (old.patches or []) ++ [ - ./no-ownership-check-for-root.patch - ]; + patches = + (old.patches or []) + ++ [ + ./no-ownership-check-for-root.patch + ]; })}/libexec/git-core/git-http-backend"; GIT_NO_CHECK_OWNERSHIP = "1"; }; |