mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: %final-inputs-riscv64: Add comment.
* gnu/packages/commencement.scm (%final-inputs-riscv64): Add comment explaining why this variable needs to exist.
This commit is contained in:
parent
73d93343ba
commit
c5000dcc37
1 changed files with 9 additions and 0 deletions
|
@ -3737,6 +3737,15 @@ (define-public %final-inputs
|
|||
("locales" ,glibc-utf8-locales-final))))
|
||||
|
||||
(define-public %final-inputs-riscv64
|
||||
;; This is similar to the added (list gcc "lib") elsewhere in this file, but
|
||||
;; due to how (%current-system) is re-defined when performing builds with the
|
||||
;; '--system' flag, %final-inputs is too early in the evaulation pipeline to
|
||||
;; correctly identify the system for which a derivation will be built. Thus,
|
||||
;; since (%current-system) is re-determined by (guix build-system gnu) after
|
||||
;; loading %final-inputs but before taking into account the '--system' flag,
|
||||
;; the test for (target-riscv64?) needs to be in (guix build-system gnu),
|
||||
;; with %final-inputs-riscv64 already available at the same time that
|
||||
;; %final-inputs is available.
|
||||
`(("gcc:lib" ,gcc-final "lib")
|
||||
,@%final-inputs))
|
||||
|
||||
|
|
Loading…
Reference in a new issue