gnu: rust: Fix building.
This is a follow-up to e07b04882a
.
* gnu/packages/rust.scm (rust@1.19, rust@1.32)[arguments]: When using
functions from (guix build cargo-utils), make sure to include said
module in that build phase.
master
parent
e07b04882a
commit
4585859f33
|
@ -270,6 +270,7 @@ test = { path = \"../libtest\" }
|
|||
#t))
|
||||
(add-after 'patch-source-shebangs 'patch-cargo-checksums
|
||||
(lambda* _
|
||||
(use-modules (guix build cargo-utils))
|
||||
(substitute* "src/Cargo.lock"
|
||||
(("(\"checksum .* = )\".*\"" all name)
|
||||
(string-append name "\"" ,%cargo-reference-hash "\"")))
|
||||
|
@ -966,6 +967,7 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
|
|||
;; root of the rust tarball
|
||||
(replace 'patch-cargo-checksums
|
||||
(lambda* _
|
||||
(use-modules (guix build cargo-utils))
|
||||
(substitute* "Cargo.lock"
|
||||
(("(\"checksum .* = )\".*\"" all name)
|
||||
(string-append name "\"" ,%cargo-reference-hash "\"")))
|
||||
|
|
Reference in New Issue