guix-commits
[Top][All Lists]
Advanced

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

14/17: gnu: password-store: Use INSTALL-FILE.


From: Tobias Geerinckx-Rice
Subject: 14/17: gnu: password-store: Use INSTALL-FILE.
Date: Tue, 14 Aug 2018 11:32:12 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit e9ce64250a41d402e0031bd13f96cc6c9b44bbb7
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Fri Aug 10 02:36:51 2018 +0200

    gnu: password-store: Use INSTALL-FILE.
    
    * gnu/packages/password-utils.scm (password-store)[arguments]:
    Substitute a more concise INSTALL-FILE invocation for COPY-FILE.
---
 gnu/packages/password-utils.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 341a9a1..06b2873 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -386,9 +386,9 @@ any X11 window.")
              #t))
          (add-after 'install 'install-passmenu
            (lambda* (#:key outputs #:allow-other-keys)
-             (let ((out (assoc-ref outputs "out")))
-               (copy-file "contrib/dmenu/passmenu"
-                          (string-append out "/bin/passmenu"))
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin")))
+               (install-file "contrib/dmenu/passmenu" bin)
                #t)))
          (add-after 'install 'wrap-path
            (lambda* (#:key inputs outputs #:allow-other-keys)



reply via email to

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