[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
198/276: gnu: rust-addr2line-0.17: Fix building.
From: |
guix-commits |
Subject: |
198/276: gnu: rust-addr2line-0.17: Fix building. |
Date: |
Wed, 18 Oct 2023 04:50:03 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit c68f15cd8e46766fbfc98dcdc13743c834af23e4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 8 12:13:59 2023 +0300
gnu: rust-addr2line-0.17: Fix building.
* gnu/packages/crates-io.scm (rust-addr2line-0.17)[source]: Add snippet
to correctly build one of the dependency crates.
---
gnu/packages/crates-io.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 636e64d664..32301bcde5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1869,9 +1869,17 @@ Rust, using gimli.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0sw16zqy6w0ar633z69m7lw6gb0k1y7xj3387a8wly43ij5div5r"))))
+ "0sw16zqy6w0ar633z69m7lw6gb0k1y7xj3387a8wly43ij5div5r"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (substitute* "Cargo.toml.orig"
+ (("(cpp_demangle =.*)default-features = false,(.*)" _
first last)
+ (string-append first last))
+ ((".*auxiliary.*") ""))
+ (copy-file "Cargo.toml.orig" "Cargo.toml")))))
(arguments
- `(#:tests? #false ;use of undeclared crate or module `auxiliary`
+ `(#:tests? #false ; Not all files included.
#:cargo-inputs
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-cpp-demangle" ,rust-cpp-demangle-0.3)
- 172/276: gnu: wlgreet: Update to 0.4.1., (continued)
- 172/276: gnu: wlgreet: Update to 0.4.1., guix-commits, 2023/10/18
- 177/276: gnu: rust-minisign: Update to 0.7.5., guix-commits, 2023/10/18
- 178/276: gnu: rust-arrayvec-0.7: Update to 0.7.4., guix-commits, 2023/10/18
- 179/276: gnu: Add rust-constant-time-eq-0.3., guix-commits, 2023/10/18
- 183/276: gnu: rust-serde-json-1: Update to 1.0.107., guix-commits, 2023/10/18
- 185/276: gnu: rust-tempfile-3: Update to 3.8.0., guix-commits, 2023/10/18
- 180/276: gnu: Add rust-criterion-0.5., guix-commits, 2023/10/18
- 190/276: gnu: rust-pyo3: Update to 0.19.2., guix-commits, 2023/10/18
- 199/276: gnu: rust-afl-0.8: Remove check-for-pregenerated-files phase., guix-commits, 2023/10/18
- 201/276: gnu: rust-cookie-0.14: Update to 0.14.4., guix-commits, 2023/10/18
- 198/276: gnu: rust-addr2line-0.17: Fix building.,
guix-commits <=
- 204/276: build: cargo-build-system: Disable tests by default., guix-commits, 2023/10/18
- 206/276: gnu: rust-cargo-util-0.1: Fix build., guix-commits, 2023/10/18
- 205/276: gnu: rust-base32-0.4: Add missing inputs., guix-commits, 2023/10/18
- 202/276: gnu: rust-aesni-0.7: Skip build., guix-commits, 2023/10/18
- 208/276: gnu: rust-core-foundation-sys-0.7: Downgrade to 0.7.0., guix-commits, 2023/10/18
- 209/276: gnu: rust-proc-macro2-1.0.34: Fix inputs., guix-commits, 2023/10/18
- 212/276: gnu: rust-merge-derive-0.1: Add missing inputs., guix-commits, 2023/10/18
- 213/276: gnu: rust-quinn-proto-0.8: Add missing input., guix-commits, 2023/10/18
- 216/276: gnu: rust-enquote-1: Add missing input., guix-commits, 2023/10/18
- 222/276: gnu: Add rust-core2-0.4., guix-commits, 2023/10/18