From e9ce64250a41d402e0031bd13f96cc6c9b44bbb7 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 10 Aug 2018 02:36:51 +0200 Subject: 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 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) -- cgit v1.2.3