guix-commits
[Top][All Lists]
Advanced

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

03/09: gnu: assword: Use INVOKE.


From: guix-commits
Subject: 03/09: gnu: assword: Use INVOKE.
Date: Fri, 25 Jan 2019 09:18:01 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 3692cffed4411e35ccdedcda8f10433966964e46
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Jan 25 14:10:25 2019 +0100

    gnu: assword: Use INVOKE.
    
    * gnu/packages/password-utils.scm (assword)[arguments]: Use INVOKE.
---
 gnu/packages/password-utils.scm | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 5b60ad9..9fd5a6f 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -381,15 +381,14 @@ random passwords that pass the checks.")
                #t)))
          (add-after 'install 'manpage
            (lambda* (#:key outputs #:allow-other-keys)
-             (and
-              ;; Without this substitution, it fails with
-              ;; ImportError: No module named 'gpg'
-              (substitute* "Makefile"
-                (("PYTHONPATH=.") ""))
-              (zero? (system* "make" "assword.1"))
-              (install-file
-               "assword.1"
-               (string-append (assoc-ref outputs "out") 
"/share/man/man1"))))))))
+             ;; Without this substitution, it fails with
+             ;; ImportError: No module named 'gpg'
+             (substitute* "Makefile"
+               (("PYTHONPATH=.") ""))
+             (invoke "make" "assword.1")
+             (install-file
+              "assword.1"
+              (string-append (assoc-ref outputs "out") "/share/man/man1")))))))
     (build-system python-build-system)
     (native-inputs
      `(("txt2man" ,txt2man)))



reply via email to

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