mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-20 05:37:34 -05:00
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:
parent
3344f70e49
commit
b459c39adb
1 changed files with 5 additions and 3 deletions
|
@ -7984,14 +7984,16 @@ (define-public gmnisrv
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no check target
|
`(#: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)))))
|
#:make-flags (list (string-append "CC=" ,(cc-for-target)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("openssl" ,openssl)))
|
`(("mailcap" ,mailcap)
|
||||||
|
("openssl" ,openssl)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("scdoc" ,scdoc)))
|
("scdoc" ,scdoc)))
|
||||||
(propagated-inputs
|
|
||||||
`(("mailcap" ,mailcap)))
|
|
||||||
(synopsis "Simple Gemini protocol server")
|
(synopsis "Simple Gemini protocol server")
|
||||||
(description "gmnisrv is a simple Gemini protocol server written in C.")
|
(description "gmnisrv is a simple Gemini protocol server written in C.")
|
||||||
(license (list license:gpl3+
|
(license (list license:gpl3+
|
||||||
|
|
Loading…
Reference in a new issue