gnu: rust: use llvm@8

* gnu/packages/llvm.scm (llvm): Rename to...
(llvm-8): ...this.
(llvm): New variable.
* gnu/packages/rust.scm (rust)[inputs]: Use llvm-8
This commit is contained in:
Ivan Petkov 2019-06-17 22:10:52 -07:00
parent f676b2a45f
commit f5de2b9a3e
No known key found for this signature in database
GPG Key ID: 0B431E9837056942
2 changed files with 6 additions and 1 deletions

@ -48,7 +48,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages xml))
(define-public llvm
(define-public llvm-8
(package
(name "llvm")
(version "8.0.0")
@ -99,6 +99,8 @@ languages is in development. The compiler infrastructure includes mirror sets
of programming tools as well as libraries with equivalent functionality.")
(license license:ncsa)))
(define-public llvm llvm-8)
(define* (clang-runtime-from-llvm llvm hash
#:optional (patches '()))
(package

@ -1056,6 +1056,9 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
"0bbizy6b7002v1rdhrxrf5gijclbyizdhkglhp81ib3bf5x66kas")))
(package
(inherit base-rust)
(inputs
(alist-replace "llvm" (list llvm-8)
(package-inputs base-rust)))
(arguments
(substitute-keyword-arguments (package-arguments base-rust)
((#:phases phases)