unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: guix-devel@gnu.org
Subject: Why does slim-service-type depend on GTK+?
Date: Wed, 10 Jun 2020 09:51:31 +0200	[thread overview]
Message-ID: <871rmnfjek.fsf@ambrevar.xyz> (raw)

[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]

Hi Guix!

If I add the following service

--8<---------------cut here---------------start------------->8---
(service slim-service-type (slim-configuration
                                                 (display ":1")
                                                 (vt "vt8")))
--8<---------------cut here---------------end--------------->8---

to bare-bones.tmpl, it drags GTK+ in the closure.

Here is the slim-service-type definition:

--8<---------------cut here---------------start------------->8---
(define slim-service-type
  (handle-xorg-configuration slim-configuration
    (service-type (name 'slim)
                  (extensions
                   (list (service-extension shepherd-root-service-type
                                            slim-shepherd-service)
                         (service-extension pam-root-service-type
                                            slim-pam-service)

                         ;; Unconditionally add xterm to the system profile, to
                         ;; avoid bad surprises.
                         (service-extension profile-service-type
                                            (const (list xterm)))))

                  (default-value (slim-configuration))
                  (description
                   "Run the SLiM graphical login manager for X11."))))
--8<---------------cut here---------------end--------------->8---

Any idea how and why?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

             reply	other threads:[~2020-06-10  7:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-10  7:51 Pierre Neidhardt [this message]
2020-06-10 10:01 ` Why does slim-service-type depend on GTK+? Mathieu Othacehe
2020-06-10 12:20   ` Pierre Neidhardt
2020-06-10 12:51     ` Pierre Neidhardt
2020-06-11  7:37       ` Pierre Neidhardt

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=871rmnfjek.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=guix-devel@gnu.org \
    /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.
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).