From e1910983dd09b85b8138840019d0d7e9a06a1316 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 24 Apr 2023 12:01:26 +0300 Subject: [PATCH] gnu: rust-servo-fontconfig-sys-5: Don't skip build. * gnu/packages/crates-io.scm (rust-servo-fontconfig-sys-5)[arguments]: Don't skip build. Add cargo-build-flags to use system library. [inputs]: Add expat, fontconfig. [native-inputs]: Add pkg-config. --- gnu/packages/crates-io.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 819f538213..78637cd0a5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -55786,11 +55786,15 @@ (define-public rust-servo-fontconfig-sys-5 (base32 "125k4hydb4w08568rgazh95n6haxhf5c78axz50glbc9p6fqfsz3")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-build-flags '("--features" "force_system_lib") #:cargo-inputs (("rust-expat-sys" ,rust-expat-sys-2) ("rust-freetype-sys" ,rust-freetype-sys-0.13) ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (inputs + (list expat fontconfig)) + (native-inputs + (list pkg-config)) (home-page "https://crates.io/crates/servo-fontconfig-sys") (synopsis "Rust wrapper around Fontconfig") (description