aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-05-18 01:55:29 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2018-05-18 01:55:29 +0200
commit39b40f16f2dfd074d6709a34c9e91321295f67da (patch)
treecede29796ed1830dbd331a46496bb0791f501b1a
parent4ca958111908eda0452c47c8cb467a1bd0c9bc87 (diff)
downloadguix-39b40f16f2dfd074d6709a34c9e91321295f67da.tar
guix-39b40f16f2dfd074d6709a34c9e91321295f67da.tar.gz
gnu: mrustc: Update to 0.0.0-2.ee65f12.
* gnu/packages/rust.scm (mrustc): Update to 0.0.0-2.ee65f12. [arguments]<#:phases>[configure]: New phase.
-rw-r--r--gnu/packages/rust.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index bf50cdd55e..6c6e91a2fb 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -272,8 +272,8 @@ safety and thread safety guarantees.")
(package-native-inputs base-rust))))))
(define-public mrustc
- (let ((commit "4f98e4322ef7aabd3bbef8cd93c0980cd6eeeed1")
- (revision "1")
+ (let ((commit "ee65f12f4aeb27238c8a2fc07fbe84eceafdde26")
+ (revision "2")
(rustc-version "1.19.0"))
(package
(name "mrustc")
@@ -286,7 +286,7 @@ safety and thread safety guarantees.")
(file-name (git-file-name name version))
(sha256
(base32
- "1hk1x2iv64il5g2n3z06d6h219hnxg1w84lj7vi1lydqa65qk92p"))))
+ "0rdjzxfwhrpzf44afpm0i7b8fiqvriccn93z22sys8pxw22pkp0d"))))
(outputs '("out" "cargo"))
(build-system gnu-build-system)
(inputs
@@ -320,7 +320,10 @@ safety and thread safety guarantees.")
(invoke "patch" "-p0" "../rust_src.patch")
(chdir "..")
#t))
- (delete 'configure)
+ (replace 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "CC" (string-append (assoc-ref inputs "gcc") "/bin/gcc"))
+ #t))
(add-after 'build 'build-minicargo
(lambda _
(for-each (lambda (target)