me
/
guix
Archived
1
0
Fork 0

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
Efraim Flashner 2019-08-14 12:09:03 +03:00
parent e07b04882a
commit 4585859f33
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 0 deletions

View File

@ -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 "\"")))