mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
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:
parent
f676b2a45f
commit
f5de2b9a3e
2 changed files with 6 additions and 1 deletions
|
@ -48,7 +48,7 @@ (define-module (gnu packages llvm)
|
||||||
#: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 @@ (define-public llvm
|
||||||
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
|
||||||
|
|
|
@ -1056,6 +1056,9 @@ (define-public rust
|
||||||
"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)
|
||||||
|
|
Loading…
Reference in a new issue