From b459c39adb725822916a8e21ee250fb408d2e2f8 Mon Sep 17 00:00:00 2001 From: Sarah Morgensen Date: Sun, 25 Jul 2021 13:39:54 -0700 Subject: gnu: gmnisrv: Remove dependency on /etc/mime.types. Remove the dependency on /etc/mime.types (fixes #49233). gnu/packages/web.scm (gmnisrv)[arguments]<#:configure-flags>: Set --with-mimedb to directly use mime.types from mailcap. [propagated-inputs]: Move mailcap to... [inputs]: ...here (/etc/mime.types no longer need in profiles). Signed-off-by: Arun Isaac --- gnu/packages/web.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index a00e101385..1472f9d572 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -7984,14 +7984,16 @@ solution for any project's interface needs: (build-system gnu-build-system) (arguments `(#:tests? #f ; no check target + #:configure-flags (list (string-append "--with-mimedb=" + (assoc-ref %build-inputs "mailcap") + "/etc/mime.types")) #:make-flags (list (string-append "CC=" ,(cc-for-target))))) (inputs - `(("openssl" ,openssl))) + `(("mailcap" ,mailcap) + ("openssl" ,openssl))) (native-inputs `(("pkg-config" ,pkg-config) ("scdoc" ,scdoc))) - (propagated-inputs - `(("mailcap" ,mailcap))) (synopsis "Simple Gemini protocol server") (description "gmnisrv is a simple Gemini protocol server written in C.") (license (list license:gpl3+ -- cgit v1.2.3