about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-20T21·17+0000
committerVincent Ambo <tazjin@google.com>2019-12-20T21·17+0000
commitcf044be96be23754b9398d8ba3a4d6d052d32d39 (patch)
tree30616a2e7f9cd10203a9244ceab07eab36445556
parentf2784e93469c845993096a431a1a78d26f6ce1a3 (diff)
fix(cgit): Configure mimetype-file correctly r/244
-rw-r--r--third_party/default.nix1
-rw-r--r--web/cgit-taz/default.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/third_party/default.nix b/third_party/default.nix
index dacf0c8ff36c..61ad62bf2aa8 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 66073d46d7a1..ed82c1e6fd57 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