diff options
-rw-r--r-- | gnu/packages/golang-xyz.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index cb17c10756..4cd014e627 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -12312,7 +12312,18 @@ programs that use traditional command lines.") (base32 "0hqxj34d49snvc2m6lxfjxks3z9sic9xbb6w49ajrqbzy953spzs")))) (build-system go-build-system) (arguments - (list #:import-path "github.com/pelletier/go-toml/v2")) + (list + #:import-path "github.com/pelletier/go-toml/v2" + #:test-flags + #~(list "-short" + "-count" "1" + "-skip" "FuzzUnmarshal") ; for benchmark + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-benchmarks + (lambda* (#:key import-path #:allow-other-keys) + (delete-file-recursively + (string-append "src/" import-path "/benchmark"))))))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs '()))) |