[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: rust: Fix building.
From: |
guix-commits |
Subject: |
01/01: gnu: rust: Fix building. |
Date: |
Wed, 14 Aug 2019 05:33:46 -0400 (EDT) |
efraim pushed a commit to branch staging
in repository guix.
commit 4585859f33983e793f33b76e29f0d375220ee270
Author: Efraim Flashner <address@hidden>
Date: Wed Aug 14 12:09:03 2019 +0300
gnu: rust: Fix building.
This is a follow-up to e07b04882a621f0e78ec9cc81071722529530290.
* 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.
---
gnu/packages/rust.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 584c48a..7f0e5e5 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -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 "\"")))