gexp: Unconditionally include (system base target) in 'compiled-modules'.

* guix/gexp.scm (compiled-modules): Remove conditional.
This commit is contained in:
Marius Bakke 2019-12-03 14:56:29 +01:00
parent c9bba9928a
commit 326dc63094
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -1386,14 +1386,9 @@ (define build
(ice-9 format)
(srfi srfi-1)
(srfi srfi-26)
(system base target)
(system base compile))
;; TODO: Inline this on the next rebuild cycle.
(ungexp-splicing
(if target
(gexp ((use-modules (system base target))))
(gexp ())))
(define (regular? file)
(not (member file '("." ".."))))