diff options
author | John Soo <jsoo1@asu.edu> | 2020-06-18 15:13:55 -0700 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-11-22 19:44:35 +0200 |
commit | 529298bf9583732d078520905c1ac218d977bc58 (patch) | |
tree | 29c4639858f25f176b2d3f6f208891c9041f830d | |
parent | 7b5be01359a29943a92e0f38d0aa3dbb3765e924 (diff) |
gnu: rust-nettle-sys-2: Do not skip build.
* gnu/packages/crates-io.scm (rust-nettle-2-sys): [arguments] Change
cargo-development-inputs into cargo-inputs since they are required to
build. Do not skip build.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ee8e500469..99c0f049ad 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15919,10 +15919,17 @@ cryptographic library.") (inputs `(("nettle", nettle))) (arguments - `(#:skip-build? #t - #:cargo-development-inputs + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.51) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-environmental-variable + (lambda* (#:key inputs #:allow-other-keys) + (let ((clang (assoc-ref inputs "clang"))) + (setenv "LIBCLANG_PATH" + (string-append clang "/lib"))) + #t))))) (home-page "https://gitlab.com/sequoia-pgp/nettle-sys") (synopsis "Low-level Rust bindings for the Nettle cryptographic library") (description "This package provides low-level Rust bindings for the Nettle |