From 39b40f16f2dfd074d6709a34c9e91321295f67da Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Fri, 18 May 2018 01:55:29 +0200 Subject: 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. --- gnu/packages/rust.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'gnu/packages') 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) -- cgit 1.4.1