From 24420fcbd4204c792af8900fd9cb4b5f07e428b4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 12:44:51 +0200 Subject: [PATCH] gnu: rust-cfg-if-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-cfg-if-0.1)[arguments]: Skip build. Add rust-compiler-builtins-0.1, rust-rustc-std-workspace-core-1.0 to cargo-inputs. [properties]: Remove field. --- 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 03b0ea2428..1d98684c54 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1175,12 +1175,16 @@ (define-public rust-cfg-if-0.1 (base32 "08h80ihs74jcyp24cd75wwabygbbdgl05k6p5dmq8akbr78vv1a7")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0)))) (home-page "https://github.com/alexcrichton/cfg-if") (synopsis "Define an item depending on parameters") (description "This package provides a macro to ergonomically define an item depending on a large number of #[cfg] parameters. Structured like an @code{if-else} chain, the first matching branch is the item that gets emitted.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat))))