summaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2026-06-11 14:07:44 +0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-07-23 21:14:57 +0100
commit08b87ebf7e05483af408086d8ea4cb4cc9ed4d2e (patch)
tree9c9eaa23e42cc863aba7e2e888212c0acab2f860 /gnu/packages/web.scm
parent5729c397939496f6434a2b74fce4d99976be44ba (diff)
gnu: esbuild: Fix building with gccgo.
* gnu/packages/web.scm (esbuild)[arguments]: Adjust the test flags when building with gccgo. Merges: guix/guix!9239 Change-Id: I5b4f1f291847f68328437d5a84e3e3ce50b6ed7e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index cfc8514c79c..4ba19a8dcc2 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -2528,8 +2528,10 @@ UTS#46.")
2528 #:import-path "github.com/evanw/esbuild/cmd/esbuild" 2528 #:import-path "github.com/evanw/esbuild/cmd/esbuild"
2529 #:unpack-path "github.com/evanw/esbuild" 2529 #:unpack-path "github.com/evanw/esbuild"
2530 #:test-flags #~(list #$(if (and (target-64bit?) 2530 #:test-flags #~(list #$(if (and (target-64bit?)
2531 ;; The -race option is not supported on riscv64 2531 ;; The -race option is not supported on
2532 (not (target-riscv64?))) 2532 ;; riscv64 and is not present in gccgo.
2533 (not (target-riscv64?))
2534 (supported-package? go))
2533 "-race" "-short")) 2535 "-race" "-short"))
2534 ;; Test subdirectories are compiled from #:import-path. 2536 ;; Test subdirectories are compiled from #:import-path.
2535 #:test-subdirs #~(list "../../internal/..." "../../pkg/..." ))) 2537 #:test-subdirs #~(list "../../internal/..." "../../pkg/..." )))