guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-hyperbole: Use inputs instead of propa


From: guix-commits
Subject: branch master updated: gnu: emacs-hyperbole: Use inputs instead of propagated inputs.
Date: Sat, 20 Jun 2020 18:16:06 -0400

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new a70e2f0  gnu: emacs-hyperbole: Use inputs instead of propagated inputs.
a70e2f0 is described below

commit a70e2f0f0742f3af81e9dc9e00f3813290702bff
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jun 21 00:13:38 2020 +0200

    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.
---
 gnu/packages/emacs-xyz.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a4f26ed..32d905a 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]