gnu: gmnisrv: Fix configuration search path.

Look in /etc for configuration files rather than
/gnu/store/...-gmnisrv-.../etc.

gnu/packages/web.scm (gmnisrv)[arguments]<#:configure-flags>: Set
--sysconfdir.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
This commit is contained in:
Sarah Morgensen 2021-07-25 13:39:55 -07:00 committed by Arun Isaac
parent b459c39adb
commit e17f063627
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -7984,7 +7984,8 @@ (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=" #:configure-flags (list "--sysconfdir=/etc"
(string-append "--with-mimedb="
(assoc-ref %build-inputs "mailcap") (assoc-ref %build-inputs "mailcap")
"/etc/mime.types")) "/etc/mime.types"))
#:make-flags (list (string-append "CC=" ,(cc-for-target))))) #:make-flags (list (string-append "CC=" ,(cc-for-target)))))