unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40806: xorg-configuration->file doesn't honor xorg-configuration-server
@ 2020-04-24  1:14 Caleb Ristvedt
  2020-06-02 12:01 ` Caleb Ristvedt
  2020-06-04 12:34 ` bug#40806: done Caleb Ristvedt
  0 siblings, 2 replies; 6+ messages in thread
From: Caleb Ristvedt @ 2020-04-24  1:14 UTC (permalink / raw)
  To: 40806

Suppose that one specifies a custom xorg-server package to use in an
<xorg-configuration> record, like so:

(xorg-configuration
 (server xorg-server-for-debugging))

the correct bin/X will be run, but the wrong modules will be specified
in xserver.conf - the default xorg-server will always be used for
these. This is because in gnu/services/xorg.scm, in
xorg-configuration->file, we simply hard-code xorg-server to refer to
the one from (gnu packages xorg) and ignore the one specified in the
configuration entirely.

We shouldn't do this. It should be enough to just wrap the current
contents with

(let ((xorg-server (xorg-configuration-server config)))
  ...)

to make it work.

Then I can improve my xorg bug report :-)

- reepca

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-05 16:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24  1:14 bug#40806: xorg-configuration->file doesn't honor xorg-configuration-server Caleb Ristvedt
2020-06-02 12:01 ` Caleb Ristvedt
2020-06-04 12:11   ` Ludovic Courtès
2020-06-04 12:33     ` Caleb Ristvedt
2020-06-05 16:10       ` Ludovic Courtès
2020-06-04 12:34 ` bug#40806: done Caleb Ristvedt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).