diff options
author | Sarah Morgensen <iskarian@mgsn.dev> | 2021-07-25 13:39:54 -0700 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2021-07-27 02:42:39 +0530 |
commit | b459c39adb725822916a8e21ee250fb408d2e2f8 (patch) | |
tree | 2c79882efa499b025c0d69be268ae8c46c0c5b30 /gnu/packages | |
parent | 3344f70e4998da639c299d9bd4ac252eb6e28d32 (diff) |
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 <arunisaac@systemreboot.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/web.scm | 8 |
1 files changed, 5 insertions, 3 deletions
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+ |