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

View File

@ -48,7 +48,7 @@
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages xml)) #:use-module (gnu packages xml))
(define-public llvm (define-public llvm-8
(package (package
(name "llvm") (name "llvm")
(version "8.0.0") (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.") of programming tools as well as libraries with equivalent functionality.")
(license license:ncsa))) (license license:ncsa)))
(define-public llvm llvm-8)
(define* (clang-runtime-from-llvm llvm hash (define* (clang-runtime-from-llvm llvm hash
#:optional (patches '())) #:optional (patches '()))
(package (package

View File

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