mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: racket-vm-cs: Avoid duplicate work.
Only configure with '--enable-racket' for cross-compilation: otherwise, it effectively overrides '--enable-scheme' and bootstraps Chez Scheme again. This change saves a couple minutes of build time. See upstream discussion at <https://github.com/racket/racket/issues/4492>. * gnu/packages/racket.scm (racket-vm-cs)[native-inputs]: Only supply a Racket VM when cross-compiling. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
d9f51000ca
commit
ac09fcb955
1 changed files with 2 additions and 4 deletions
|
@ -439,14 +439,12 @@ (define-public racket-vm-cs
|
|||
(let ((native-inputs (package-native-inputs racket-vm-cgc)))
|
||||
(modify-inputs (if (%current-target-system)
|
||||
(modify-inputs native-inputs
|
||||
(prepend this-package)
|
||||
(delete "racket-vm-cgc"))
|
||||
native-inputs)
|
||||
(delete "libtool")
|
||||
(prepend chez-scheme-for-racket
|
||||
chez-nanopass-bootstrap
|
||||
(if (%current-target-system)
|
||||
racket-vm-cs
|
||||
racket-vm-bc)))))
|
||||
chez-nanopass-bootstrap))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments racket-vm-cgc)
|
||||
((#:phases those-phases #~%standard-phases)
|
||||
|
|
Loading…
Reference in a new issue