summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-07-27 09:31:08 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-07-27 09:31:08 +0100
commit1dd90ea87011e845e28b91d838104bbbc0eb4451 (patch)
tree8b04a6a8cf41868a63a3445e5c5ae572024c479e /gnu
parent0508bb1f7d209e24f28e4a847ab4f866f95e2534 (diff)
gnu: go-github-com-vishvananda-netlink: Keep tests only on x86_64.
* gnu/packages/linux.scm (go-github-com-vishvananda-netlink) [arguments]: <#:tests?>: Run tests only on x86_64 architecture. Change-Id: I15df89bd4d916e580fc82d650aefcb4cf050a20d
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/linux.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 07f75acf158..ff1455fbfbb 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -9305,6 +9305,10 @@ management tools in userspace.")
(build-system go-build-system)
(arguments
(list
+ ;; The tests are unsupported on all architectures except x86_64-linux:
+ ;; cannot use 0xabcdef99 (untyped int constant 2882400153) as int value
+ ;; in struct literal (overflows)
+ #:tests? (and (not (%current-target-system)) (target-x86-64?))
#:import-path "github.com/vishvananda/netlink"
#:phases
#~(modify-phases %standard-phases