summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-14 12:30:28 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-14 12:30:28 +0200
commitaa9b1360d652da6957cf65543d4c664ae22ba09b (patch)
tree42329618bb9493cded9f65b3fc82238b36d698bd
parent9df8b4633f3e264ad151aaadc141e23773ca4bdb (diff)
downloadguix-aa9b1360d652da6957cf65543d4c664ae22ba09b.tar.gz
gnu: rust-backtrace-sys-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-backtrace-sys-0.1)[arguments]: Skip
build. Add rust-libc-0.2, rust-compiler-builtins-0.1,
rust-rustc-std-workspace-core-1.0 to cargo-inputs. Add rust-cc-1.0 to
cargo-development-inputs.
[properties]: Remove field.
-rw-r--r--gnu/packages/crates-io.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b78f08bb9e..6fa6e7ca6b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -409,11 +409,18 @@ trace (backtrace) at runtime in a Rust program.")
          (base32
           "0as2pk77br4br04daywhivpi1ixxb8y2c7f726kj849dxys31a42"))))
     (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0))
+       #:cargo-development-inputs
+       (("rust-cc" ,rust-cc-1.0))))
     (home-page "https://github.com/rust-lang/backtrace-rs")
     (synopsis "Bindings to the libbacktrace gcc library")
     (description
      "This package provides bindings to the libbacktrace gcc library.")
-    (properties '((hidden? . #t)))
     (license (list license:asl2.0
                    license:expat))))