From cf044be96be23754b9398d8ba3a4d6d052d32d39 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 20 Dec 2019 21:17:51 +0000 Subject: [PATCH] fix(cgit): Configure mimetype-file correctly --- third_party/default.nix | 1 + web/cgit-taz/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/third_party/default.nix b/third_party/default.nix index dacf0c8ff..61ad62bf2 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -51,6 +51,7 @@ let llvmPackages makeWrapper mdbook + mime-types moreutils nano nginx diff --git a/web/cgit-taz/default.nix b/web/cgit-taz/default.nix index 66073d46d..ed82c1e6f 100644 --- a/web/cgit-taz/default.nix +++ b/web/cgit-taz/default.nix @@ -26,6 +26,7 @@ let enable-log-linecount=1 enable-follow-links=1 enable-blame=1 + mimetype-file=${mime-types}/etc/mime.types # Repository configuration repo.url=depot