diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-11-05 15:53:19 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 07:59:32 +0200 |
commit | 8438d18886da243472017fbc0d122022e595483d (patch) | |
tree | 4e6b2899f14d48cfa590845f63a3ecd85ce2d9e4 | |
parent | c3efbeaca07841a17b7d313147812a9509fea2af (diff) | |
download | guix-8438d18886da243472017fbc0d122022e595483d.tar.gz |
gnu: rust-diesel-derives-1: Skip tests.
* gnu/packages/crates-io.scm (rust-diesel-derives-1)[arguments]: Skip the test suite. Add cargo-test-flags. [native-inputs]: Add sqlite. Change-Id: Ia6fa3951643ba6215e3ea097091968c6e248f134
-rw-r--r-- | gnu/packages/crates-io.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 98e16fa845..d481425b7a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21917,7 +21917,13 @@ Builder for PostgreSQL, SQLite, and MySQL.") "1lsq133fwk0zj8xvxhdxqgg0xs31zf3abnwdyshaf0ldca7hkxa5")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:tests? #f ; cannot find type `SqliteConnection` in this scope + #:cargo-test-flags + '("--release" + "--features" "sqlite" + "--" + "--skip=expression::count::count") + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)) @@ -21925,6 +21931,7 @@ Builder for PostgreSQL, SQLite, and MySQL.") (("rust-cfg-if" ,rust-cfg-if-0.1) ("rust-diesel" ,rust-diesel-1) ("rust-dotenv" ,rust-dotenv-0.10)))) + (native-inputs (list sqlite)) (home-page "https://diesel.rs") (synopsis "Crate internal to Diesel") (description "You should not use this crate directly, it is internal to |