mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: gnupg: Don't explicitly return #t from phases.
* gnu/packages/gnupg.scm (gnupg)[arguments]: Don't explicitly return #t from phases.
This commit is contained in:
parent
325184e307
commit
55e5def90c
1 changed files with 3 additions and 6 deletions
|
@ -317,14 +317,12 @@ (define-public gnupg
|
|||
(substitute* "scd/scdaemon.c"
|
||||
(("\"(libpcsclite\\.so[^\"]*)\"" _ name)
|
||||
(string-append "\"" (assoc-ref inputs "pcsc-lite")
|
||||
"/lib/" name "\"")))
|
||||
#t))
|
||||
"/lib/" name "\"")))))
|
||||
(add-after 'build 'patch-scheme-tests
|
||||
(lambda _
|
||||
(substitute* (find-files "tests" ".\\.scm$")
|
||||
(("/usr/bin/env gpgscm")
|
||||
(string-append (getcwd) "/tests/gpgscm/gpgscm")))
|
||||
#t))
|
||||
(string-append (getcwd) "/tests/gpgscm/gpgscm")))))
|
||||
(add-before 'build 'patch-test-paths
|
||||
(lambda _
|
||||
(substitute* '("tests/inittests"
|
||||
|
@ -336,8 +334,7 @@ (define-public gnupg
|
|||
(substitute* "common/t-exectool.c"
|
||||
(("/bin/cat") (which "cat"))
|
||||
(("/bin/true") (which "true"))
|
||||
(("/bin/false") (which "false")))
|
||||
#t)))))
|
||||
(("/bin/false") (which "false"))))))))
|
||||
(home-page "https://gnupg.org/")
|
||||
(synopsis "GNU Privacy Guard")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue