Browse Source

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.
gn-latest-20200725
Nicolas Goaziou 1 year ago
parent
commit
a70e2f0f07
No known key found for this signature in database GPG Key ID: DA00B4F048E92F2D
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      gnu/packages/emacs-xyz.scm

+ 6
- 4
gnu/packages/emacs-xyz.scm 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


Loading…
Cancel
Save