summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2024-12-31 09:14:17 +0800
committerHilton Chain <hako@ultrarare.space>2024-12-31 10:56:35 +0800
commitf31b9df0f8e2ae2a719dcf3b8d9e2579eba7cf7c (patch)
tree8ec39e435bdf51b228cbe3716cac1c6634a30e64
parentbdff1941e51193437dbcefad80d019fd9d5d0aa9 (diff)
build/zig: Output verbosely.
* guix/build/zig-build-system.scm (build,check): Add "--verbose" flag. Change-Id: I3339496156f9a194cbe928ae4b5a01eb65cbdf08
-rw-r--r--guix/build/zig-build-system.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/zig-build-system.scm b/guix/build/zig-build-system.scm
index b202c4bce2..c5d2d121d0 100644
--- a/guix/build/zig-build-system.scm
+++ b/guix/build/zig-build-system.scm
@@ -152,6 +152,7 @@
"--prefix-lib-dir" "lib"
"--prefix-exe-dir" "bin"
"--prefix-include-dir" "include"
+ "--verbose"
,(string-append "-Dtarget=" (zig-target zig-build-target))
,@(if parallel-build?
((assoc-ref arguments "parallel-jobs")
@@ -176,7 +177,7 @@
(let ((old-destdir (getenv "DESTDIR")))
(setenv "DESTDIR" "test-out") ;; Avoid colisions with the build output
(let* ((arguments (zig-arguments))
- (call `("zig" "build" "test"
+ (call `("zig" "build" "test" "--verbose"
,@(if parallel-tests?
((assoc-ref arguments "parallel-jobs")
(parallel-job-count))