gnu: emacs-hyperbole: Use inputs instead of propagated inputs.

* gnu/packages/emacs-xyz.scm (emacs-hyperbole)[arguments]: Replace domainname
with dnsdomainname, not hostname.
[propagated-inputs]: move to...
[inputs]: ...this.
This commit is contained in:
Nicolas Goaziou 2020-06-21 00:13:38 +02:00
parent 377a5f65ed
commit a70e2f0f07
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

@ -276,14 +276,16 @@ using geiser.")
;; Fix build issues about missing "domainname" and "hpmap:dir-user"
;; parent dir.
(add-after 'unpack 'fix-build
(lambda _
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "hypb.el"
(("(/usr)?/bin/domainname") "/bin/hostname"))
(("/bin/domainname")
(string-append (assoc-ref inputs "inetutils")
"/bin/dnsdomainname")))
(substitute* "hyperbole.el"
(("\\(hyperb:check-dir-user\\)") ""))
#t)))))
(propagated-inputs
`(("inetutils" ,inetutils))) ;for hostname
(inputs
`(("inetutils" ,inetutils)))
(home-page "https://www.gnu.org/software/hyperbole/")
(synopsis "The Everyday Hypertextual Information Manager")
(description