aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/rust.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-08-07 18:37:06 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2018-08-07 19:23:48 +0200
commitf5704c72a5e0e535c275a0cfd613e68b7b6c1d70 (patch)
tree97e303408243cb2131095ab0a56959a660fcd9b2 /gnu/packages/rust.scm
parentcc48997de56864191a4a4ed4bed8763139c3add6 (diff)
downloadgnu-guix-f5704c72a5e0e535c275a0cfd613e68b7b6c1d70.tar
gnu-guix-f5704c72a5e0e535c275a0cfd613e68b7b6c1d70.tar.gz
gnu: mrustc: Update to 0.8-1.ec907f5.
* gnu/packages/rust.scm (mrustc): Update to 0.8-1.ec907f5. [arguments]<#:phases>[patch-date]: New phase.
Diffstat (limited to 'gnu/packages/rust.scm')
-rw-r--r--gnu/packages/rust.scm15
1 files changed, 10 insertions, 5 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 28bffb44bb..4cfbdb5722 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -303,12 +303,12 @@ safety and thread safety guarantees.")
(package-native-inputs base-rust))))))
(define-public mrustc
- (let ((commit "b5b70897015ee70d62ddda9711c256ca7c720e0f")
- (revision "3")
+ (let ((commit "ec907f56199c495db061f2712a5be3977bcb11e8")
+ (revision "1")
(rustc-version "1.19.0"))
(package
(name "mrustc")
- (version (git-version "0.0.0" revision commit))
+ (version (git-version "0.8" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
@@ -317,7 +317,7 @@ safety and thread safety guarantees.")
(file-name (git-file-name name version))
(sha256
(base32
- "1d6jr6agiy598ab8lax0h9dfn9n67wg906y1f46l1c27sz3w82lb"))))
+ "0a7v8ccyzp1sdkwni8h1698hxpfz2sxhcpx42n6l2pbm0rbjp08i"))))
(outputs '("out" "cargo"))
(build-system gnu-build-system)
(inputs
@@ -335,7 +335,12 @@ safety and thread safety guarantees.")
"/bin/llvm-config"))
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'unpack-target-compiler
+ (add-after 'unpack 'patch-date
+ (lambda _
+ (substitute* "Makefile"
+ (("shell date") "shell date -d @1"))
+ #t))
+ (add-after 'patch-date 'unpack-target-compiler
(lambda* (#:key inputs outputs #:allow-other-keys)
(substitute* "minicargo.mk"
;; Don't try to build LLVM.