summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-14 12:44:51 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-14 12:44:51 +0200
commit24420fcbd4204c792af8900fd9cb4b5f07e428b4 (patch)
treeb8755baa7b8cf212d977b8cb1e464c9470116703 /gnu/packages/crates-io.scm
parent4f067ec7b9603eb305ce5364723ea698ef97267f (diff)
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.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm6
1 files changed, 5 insertions, 1 deletions
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 @@ archive to be linked into Rustcode.")
(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))))