aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-27 13:46:40 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:44:48 +0300
commit4e42809c398b69b3e13f0052500a168319fb2d8b (patch)
tree79430e8af211c899204dee34b6d04c1a49e9cf50 /gnu
parent6ef9ec853b4dec2f8b9d62dc835119b7c8379bac (diff)
downloadguix-4e42809c398b69b3e13f0052500a168319fb2d8b.tar
guix-4e42809c398b69b3e13f0052500a168319fb2d8b.tar.gz
gnu: rust-nix-0.26: Update to 0.26.4.
* gnu/packages/crates-io.scm (rust-nix-0.26): Update to 0.26.4. [arguments]: Don't skip the build. Add cargo-test-flags. [cargo-inputs]: Remove rust-static-assertions-1. [cargo-development-inputs]: Add rust-assert-impl-0.1, rust-caps-0.5, rust-lazy-static-1, rust-parking-lot-0.12, rust-rand-0.8, rust-semver-1, rust-sysctl-0.4, rust-tempfile-3. Change-Id: Ia66583ca65c27c5604a21098418bb47e085d7e79
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm38
1 files changed, 33 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 68807e4159..6ad7ece712 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44075,23 +44075,51 @@ while still providing platform specific APIs.")
(package
(inherit rust-nix-0.27)
(name "rust-nix")
- (version "0.26.2")
+ (version "0.26.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "nix" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "06lfvjhsj5zlslsg2jhijrm69npprmsh7r1667qnl7c2jv8s7pdz"))))
+ (base32 "06xgl4ybb8pvjrbmc3xggbgk3kbs1j0c4c0nzdfrmpbgrkrym2sr"))))
(arguments
- (list #:skip-build? #t
+ (list #:cargo-test-flags
+ `(list "--release" "--"
+ "--skip=sys::resource::test::test_self_cpu_time"
+ "--skip=test_unistd::test_execve::test_cstr_ref"
+ "--skip=test_unistd::test_execve::test_cstring"
+ "--skip=test_unistd::test_execveat_absolute::test_cstr_ref"
+ "--skip=test_unistd::test_execveat_absolute::test_cstring"
+ ;; Some of the tests hang.
+ "--skip=test_unistd::test_execveat_empty::test_cstr_ref"
+ "--skip=test_unistd::test_execveat_empty::test_cstring"
+ "--skip=test_unistd::test_execveat_relative::test_cstr_ref"
+ "--skip=test_unistd::test_execveat_relative::test_cstring"
+ "--skip=test_unistd::test_fexecve::test_cstr_ref"
+ "--skip=test_unistd::test_fexecve::test_cstring"
+ ;; Some doctests segfault.
+ "--skip=sys::personality::set"
+ "--skip=sys::socket::sendmsg"
+ "--skip=unistd::Group::from_gid"
+ "--skip=unistd::Group::from_name"
+ "--skip=unistd::User::from_name"
+ "--skip=unistd::User::from_uid")
#:cargo-inputs
`(("rust-bitflags" ,rust-bitflags-1)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-libc" ,rust-libc-0.2)
("rust-memoffset" ,rust-memoffset-0.7)
- ("rust-pin-utils" ,rust-pin-utils-0.1)
- ("rust-static-assertions" ,rust-static-assertions-1))))))
+ ("rust-pin-utils" ,rust-pin-utils-0.1))
+ #:cargo-development-inputs
+ `(("rust-assert-impl" ,rust-assert-impl-0.1)
+ ("rust-caps" ,rust-caps-0.5)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-semver" ,rust-semver-1)
+ ("rust-sysctl" ,rust-sysctl-0.4)
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-nix-0.25
(package