diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-28 21:40:23 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:34 +0200 |
commit | 062999292dd0586ce6a5899622674be70867e52b (patch) | |
tree | d70216c0842de3700d7f1ab10cb0aaedd914f09c /gnu/packages | |
parent | 77d49c4df13172925134bb06f276660b678d119a (diff) | |
download | guix-062999292dd0586ce6a5899622674be70867e52b.tar.gz |
gnu: rust-time-0.1: Don't skip the build.
* gnu/packages/crates-io.scm (rust-time-0.1)[source]: Add snippet to allow newer versions of dependencies. [arguments]: Don't skip the build. Add cargo-test-flags. Change-Id: Iaff90a0097de00d91b7058cf54b0cca1281b3eb0
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bb7bf63bf6..d78e759c15 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -67544,10 +67544,22 @@ interoperable with the standard library, and is mostly compatible with (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0nl0pzv9yf56djy8y5dx25nka5pr2q1ivlandb3d24pksgx7ly8v")))) + "0nl0pzv9yf56djy8y5dx25nka5pr2q1ivlandb3d24pksgx7ly8v")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + "--skip=tests::test_asctime" + "--skip=tests::test_at" + "--skip=tests::test_ctime" + "--skip=tests::test_dst" + "--skip=tests::test_strftime") #:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) |