aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-06-21 00:13:38 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-06-21 00:13:38 +0200
commita70e2f0f0742f3af81e9dc9e00f3813290702bff (patch)
tree16a2e38776d9b5f3124c4cc9227182e22cba3d67 /gnu/packages
parent377a5f65edd370ceae32a268c953a94f83ca5155 (diff)
downloadguix-a70e2f0f0742f3af81e9dc9e00f3813290702bff.tar
guix-a70e2f0f0742f3af81e9dc9e00f3813290702bff.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a4f26ed3c0..32d905aa80 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -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