mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: rust-dns-lookup-2: Fix package tests.
This package was introduced in abfef465b2
as a
dependency for Nsncd. We can build Nsncd just fine, but building explicitly
this package is failing. The issue comes from two tests making assumption
about domain name resolution. The Guix build sandbox breaks these assumptions,
preventing the test suite to succeed. Fixing this by disabling the faulty
tests.
* gnu/packages/crates-io.scm (rust-dns-lookup-2): Skip faulty tests.
Change-Id: Idc42822d8cd72e83e9ea973820b5073ff87ad4d4
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
f63e6a17a1
commit
7b0970fb43
1 changed files with 6 additions and 1 deletions
|
@ -19955,7 +19955,12 @@ (define-public rust-dns-lookup-2
|
|||
(base32 "1z74n2zij2gahycabm0gkmkyx574h76gwk7sz93yqpr3qa3n0xp5"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
|
||||
`(#:cargo-test-flags
|
||||
'("--"
|
||||
;; the builder sandbox breaks getaddrinfo, failing two tests.
|
||||
"--skip=nameinfo::test_getnameinfo"
|
||||
"--skip=src/lib.rs")
|
||||
#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-socket2" ,rust-socket2-0.5)
|
||||
("rust-windows-sys" ,rust-windows-sys-0.48))))
|
||||
|
|
Loading…
Reference in a new issue