guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: emacs-helm-system-packages: Add recutils to inputs.


From: Pierre Neidhardt
Subject: 01/01: gnu: emacs-helm-system-packages: Add recutils to inputs.
Date: Wed, 17 Oct 2018 04:37:45 -0400 (EDT)

ambrevar pushed a commit to branch master
in repository guix.

commit 05f8943f048c30920b0a6dd546400d7c19740d10
Author: Pierre Neidhardt <address@hidden>
Date:   Wed Oct 17 10:35:40 2018 +0200

    gnu: emacs-helm-system-packages: Add recutils to inputs.
    
    * gnu/packages/emacs.scm (emacs-helm-system-packages)[inputs]: Use recutils.
---
 gnu/packages/emacs.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index f7ee261..57841e8 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -5929,8 +5929,20 @@ Yasnippet.")
                (base32
                 "01by0c4lqi2cw8xmbxkjw7m9x78zssm31sx4hdpw5j35s2951j0f"))))
     (build-system emacs-build-system)
+    (inputs
+     `(("recutils" ,recutils)))
     (propagated-inputs
      `(("emacs-helm" ,emacs-helm)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'configure
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((recutils (assoc-ref inputs "recutils")))
+               ;; Specify the absolute file names of the various
+               ;; programs so that everything works out-of-the-box.
+               (substitute* "helm-system-packages-guix.el"
+                 (("recsel") (string-append recutils "/bin/recsel")))))))))
     (home-page "https://github.com/emacs-helm/helm-system-packages";)
     (synopsis "Helm System Packages is an interface to your package manager")
     (description "List all available packages in Helm (with installed



reply via email to

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