From 3d639f7c8c4337ddbd9fe41fcb8bf762bc7cfdc6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 4 Nov 2023 22:05:55 +0200 Subject: [PATCH] gnu: rust-lopdf-0.26: Fix build. * gnu/packages/crates-io.scm (rust-lopdf-0.26)[arguments]: Add cargo-test-flags. [cargo-inputs]: Replace rust-image-0.20 with 0.23. Change-Id: If27ac162c6570e9495b85d42625550de3ce912a8 --- gnu/packages/crates-io.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8930b4a52d..9e93ef3f92 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -41387,12 +41387,16 @@ (define-public rust-lopdf-0.26 (sha256 (base32 "1wqnmibs8qzi6pr3ig4h3sg6bfkkgyv4ngdng81x069725r056ml")))) (arguments - `(#:cargo-inputs + `(#:cargo-test-flags + (list "--release" "--" + ;; Not all files included + "--skip=parser_aux::load_and_save") + #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) ("rust-dtoa" ,rust-dtoa-0.4) ("rust-encoding" ,rust-encoding-0.2) ("rust-flate2" ,rust-flate2-1) - ("rust-image" ,rust-image-0.20) + ("rust-image" ,rust-image-0.23) ("rust-itoa" ,rust-itoa-0.4) ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) ("rust-log" ,rust-log-0.4)