mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 22:50:23 -05:00
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.
This commit is contained in:
parent
14165eaaa0
commit
c68f15cd8e
1 changed files with 10 additions and 2 deletions
|
@ -1869,9 +1869,17 @@ (define-public rust-addr2line-0.17
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue