3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01: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:
Mathieu Othacehe 2021-08-30 10:56:11 +02:00
parent 8ef38cd1bf
commit f91ae9425b
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -162,6 +162,7 @@
xorg-configuration make-xorg-configuration
xorg-configuration?
(modules xorg-configuration-modules ;list of packages
(thunked)
; filter out modules not supported on current system
(default (filter
(lambda (p)