gnu: sloccount: Use INVOKE.

* gnu/packages/code.scm (sloccount)[arguments]: Use INVOKE and unconditionally
return #T from build phases.
This commit is contained in:
Ricardo Wurmus 2019-01-24 23:08:09 +01:00
parent c28bf42f2a
commit e99b47729a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 2 deletions

View File

@ -186,14 +186,15 @@ around in a large, deeply nested project.")
(mkdir-p (string-append out (mkdir-p (string-append out
"/share/man/man1")) "/share/man/man1"))
(mkdir-p (string-append out (mkdir-p (string-append out
"/share/doc"))))) "/share/doc"))
#t)))
(replace 'check (replace 'check
(lambda _ (lambda _
(setenv "HOME" (getcwd)) (setenv "HOME" (getcwd))
(setenv "PATH" (setenv "PATH"
(string-append (getcwd) ":" (string-append (getcwd) ":"
(getenv "PATH"))) (getenv "PATH")))
(zero? (system* "make" "test"))))) (invoke "make" "test"))))
#:make-flags (list (string-append "PREFIX=" #:make-flags (list (string-append "PREFIX="
(assoc-ref %outputs "out"))))) (assoc-ref %outputs "out")))))