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>
This commit is contained in:
Sarah Morgensen 2021-07-25 13:39:54 -07:00 committed by Arun Isaac
parent 3344f70e49
commit b459c39adb
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -7984,14 +7984,16 @@ (define-public gmnisrv
(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+