mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: sloccount: Use INVOKE.
* gnu/packages/code.scm (sloccount)[arguments]: Use INVOKE and unconditionally return #T from build phases.
This commit is contained in:
parent
c28bf42f2a
commit
e99b47729a
1 changed files with 3 additions and 2 deletions
|
@ -186,14 +186,15 @@ around in a large, deeply nested project.")
|
|||
(mkdir-p (string-append out
|
||||
"/share/man/man1"))
|
||||
(mkdir-p (string-append out
|
||||
"/share/doc")))))
|
||||
"/share/doc"))
|
||||
#t)))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(setenv "HOME" (getcwd))
|
||||
(setenv "PATH"
|
||||
(string-append (getcwd) ":"
|
||||
(getenv "PATH")))
|
||||
(zero? (system* "make" "test")))))
|
||||
(invoke "make" "test"))))
|
||||
|
||||
#:make-flags (list (string-append "PREFIX="
|
||||
(assoc-ref %outputs "out")))))
|
||||
|
|
Loading…
Reference in a new issue