gnu: assword: Use INVOKE.
* gnu/packages/password-utils.scm (assword)[arguments]: Use INVOKE.
This commit is contained in:
parent
c9a65d5c37
commit
3692cffed4
|
@ -381,15 +381,14 @@ random passwords that pass the checks.")
|
||||||
#t)))
|
#t)))
|
||||||
(add-after 'install 'manpage
|
(add-after 'install 'manpage
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(and
|
;; Without this substitution, it fails with
|
||||||
;; Without this substitution, it fails with
|
;; ImportError: No module named 'gpg'
|
||||||
;; ImportError: No module named 'gpg'
|
(substitute* "Makefile"
|
||||||
(substitute* "Makefile"
|
(("PYTHONPATH=.") ""))
|
||||||
(("PYTHONPATH=.") ""))
|
(invoke "make" "assword.1")
|
||||||
(zero? (system* "make" "assword.1"))
|
(install-file
|
||||||
(install-file
|
"assword.1"
|
||||||
"assword.1"
|
(string-append (assoc-ref outputs "out") "/share/man/man1")))))))
|
||||||
(string-append (assoc-ref outputs "out") "/share/man/man1"))))))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("txt2man" ,txt2man)))
|
`(("txt2man" ,txt2man)))
|
||||||
|
|
Loading…
Reference in New Issue