(address . bug-guix@gnu.org)
Hi guix,
The example at
two bugs:
#:tests? is unconditionally set to #true. This is bad for cross-
compilation and --without-tests=PACKAGE reasons, and would be flagged
by the linter.
In the new 'check' phase, libgit2_clar is invoked unconditionally. This
would be flagged by the linter.
Also, not exactly a bug, but still bad practice: the web page suggests:
#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))
"CC=gcc")
however, hardcoding gcc is bad for cross-compilation reasons. It should
use (cc-for-target) instead.
Greetings,
Maxime