summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-08-10 02:36:51 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-08-14 15:54:30 +0200
commite9ce64250a41d402e0031bd13f96cc6c9b44bbb7 (patch)
treeba9ee3d32937cc5898e6c253c9e7e4c02da58237 /gnu/packages
parent7fcb3935fa0a666e6441f587200c16a39341263b (diff)
downloadguix-e9ce64250a41d402e0031bd13f96cc6c9b44bbb7.tar.gz
gnu: password-store: Use INSTALL-FILE.
* gnu/packages/password-utils.scm (password-store)[arguments]:
Substitute a more concise INSTALL-FILE invocation for COPY-FILE.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/password-utils.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 341a9a140c..06b2873dd2 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)