From 60469b0116a46b5585aec5372cf3d2f3a970dc48 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 23 Dec 2024 01:42:17 +0000 Subject: [PATCH] gnu: go-github-com-spf13-viper: Fix build. * gnu/packages/golang-xyz.scm (go-github-com-spf13-viper) [arguments] : Only run test in project's root. Change-Id: I85ddafe03ea8af8ba03169a3a3188ac0117045a2 --- gnu/packages/golang-xyz.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 6c7af0e7d25..075895d424a 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -9464,7 +9464,9 @@ GNU extensions} to the POSIX recommendations for command-line options.") (build-system go-build-system) (arguments (list - #:import-path "github.com/spf13/viper")) + #:import-path "github.com/spf13/viper" + ;; Optional modules are not packed. + #:test-subdirs #~(list "."))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs