mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 09:02:59 -05:00
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>
This commit is contained in:
parent
7b5be01359
commit
529298bf95
1 changed files with 10 additions and 3 deletions
|
@ -15919,10 +15919,17 @@ (define-public rust-nettle-sys-2
|
||||||
(inputs
|
(inputs
|
||||||
`(("nettle", nettle)))
|
`(("nettle", nettle)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:cargo-inputs
|
||||||
#:cargo-development-inputs
|
|
||||||
(("rust-bindgen" ,rust-bindgen-0.51)
|
(("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")
|
(home-page "https://gitlab.com/sequoia-pgp/nettle-sys")
|
||||||
(synopsis "Low-level Rust bindings for the Nettle cryptographic library")
|
(synopsis "Low-level Rust bindings for the Nettle cryptographic library")
|
||||||
(description "This package provides low-level Rust bindings for the Nettle
|
(description "This package provides low-level Rust bindings for the Nettle
|
||||||
|
|
Loading…
Reference in a new issue