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.
This commit is contained in:
parent
e07b04882a
commit
4585859f33
1 changed files with 2 additions and 0 deletions
|
@ -270,6 +270,7 @@ (define rust-1.19
|
|||
#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 @@ (define-public rust-1.32
|
|||
;; 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 "\"")))
|
||||
|
|
Loading…
Reference in a new issue