From: Gottfried <gottfried@posteo.de>
To: Mario Forzanini <mf@marioforzanini.com>
Cc: help-guix@gnu.org
Subject: Re: unbound variable in attempt to install "lightdm"
Date: Fri, 12 May 2023 15:50:00 +0000 [thread overview]
Message-ID: <f1f3cc64-bc18-4316-bb45-ba947b491f0b@posteo.de> (raw)
In-Reply-To: <37a4003a-7de3-5b1b-4a27-5542a199704c@marioforzanini.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 1365 bytes --]
Hi,
thanks for help
I added this line in my config.scm
---------------------------------------
(use-modules (gnu))
(use-modules (gnu services lightdm))
(use-package-modules cups scanner)
(use-service-modules cups desktop networking ssh xorg virtualization)
--------------------------------------
after running sudo guix system reconvigure....
it says:
mistake: the service "xorg-server" appears more than one time.
--------------------------------------------------
because gdm is also installed.
So can I have both installed?
kind regards
Gottfried
Am 12.05.23 um 17:20 schrieb Mario Forzanini:
>
> At the beginning of the file there should be a list of imported modules,
> you should add something like
>
> <snip>
> (use-modules (gnu services lightdm))
> <snap>
>
> Which is the Guile module in which the symbol `lightdm-service-type' is
> defined, without that Guile won't know how to relate that symbol to any
> meaningful value.
>
> If you want to find where a service is defined you could use the emacs
> interface for Guix: typing 'M-x guix RET s a' gives you a list of
> clickable service names, when you click on one of them useful info pops
> up. There's probably a way to do it with the command-line interface, but
> I'm not familiar with that.
>
> I hope this helps :)
--
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2023-05-12 15:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-12 15:05 unbound variable in attempt to install "lightdm" Gottfried
2023-05-12 15:20 ` Mario Forzanini
2023-05-12 15:50 ` Gottfried [this message]
2023-05-12 16:15 ` Felix Lechner via
2023-05-13 12:44 ` Gottfried
[not found] ` <95d43a2a-4425-6309-86dd-657ff46155da@posteo.de>
2023-05-12 16:33 ` Mario Forzanini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f1f3cc64-bc18-4316-bb45-ba947b491f0b@posteo.de \
--to=gottfried@posteo.de \
--cc=help-guix@gnu.org \
--cc=mf@marioforzanini.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).