3
5
Fork 0
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:
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

View file

@ -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")))))