mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
services: xorg: Delay the xorg-configuration-modules field evaluation.
When building an image with the "system" parameter set to an emulated architecture, the xorg-configuration-modules field needs to be evaluated once the %current-system parameter is set, otherwise this parameter is set to the current host system. * gnu/services/xorg.scm (<xorg-configuration>)[modules]: Make it a thunked field.
This commit is contained in:
parent
8ef38cd1bf
commit
f91ae9425b
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ (define-record-type* <xorg-configuration>
|
||||||
xorg-configuration make-xorg-configuration
|
xorg-configuration make-xorg-configuration
|
||||||
xorg-configuration?
|
xorg-configuration?
|
||||||
(modules xorg-configuration-modules ;list of packages
|
(modules xorg-configuration-modules ;list of packages
|
||||||
|
(thunked)
|
||||||
; filter out modules not supported on current system
|
; filter out modules not supported on current system
|
||||||
(default (filter
|
(default (filter
|
||||||
(lambda (p)
|
(lambda (p)
|
||||||
|
|
Loading…
Reference in a new issue