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: GNOME minimal
Date: Tue, 09 Jun 2020 14:21:39 +0200	[thread overview]
Message-ID: <87a71ch1kc.fsf@ambrevar.xyz> (raw)

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

Hi!

I've defined a minimal GNOME this way:

--8<---------------cut here---------------start------------->8---
(define-public gnome-minimal
  (package
    (inherit gnome)
    (name "gnome-minimal")
    (propagated-inputs
     ;; Keep nautilus.
     (fold alist-delete (package-propagated-inputs gnome)
           '("baobab"
             "cheese"
             "eog"
             "epiphany"
             "evince"                   
             "file-roller"
             "gedit"
             "gnome-boxes"
             "gnome-calculator"
             "gnome-calendar"
             "gnome-characters"
             "gnome-clocks"
             "gnome-contacts"
             "gnome-disk-utility"
             "gnome-font-viewer"
             "gnome-maps"
             ;; "gnome-music"
             ;; "gnome-photos"
             "gnome-screenshot"
             "gnome-system-monitor"
             "gnome-terminal"
             "gnome-weather"
             "simple-scan"
             "totem")))))
--8<---------------cut here---------------end--------------->8---

Then I modified my GNOME service:

--8<---------------cut here---------------start------------->8---
(operating-system
 ...
 (services (cons* (service gnome-desktop-service-type
                             (gnome-desktop-configuration
                              (gnome gnome-minimal)))
                    %my/services))
--8<---------------cut here---------------end--------------->8---

But building it fails with

--8<---------------cut here---------------start------------->8---
Backtrace:
           1 (primitive-load "/home/ambrevar/.config/guix/current/bin/guix")
In guix/ui.scm:
  1945:12  0 (run-guix-command _ . _)

guix/ui.scm:1945:12: In procedure run-guix-command:
Throw to key `match-error' with args `("match" "no matching pattern" #f)'.
--8<---------------cut here---------------end--------------->8---

Any idea?

As a side note, would it make sense to include it in Guix?
Maybe just include the above example in the documentation?

Cheers!

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

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

             reply	other threads:[~2020-06-09 12:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09 12:21 Pierre Neidhardt [this message]
2020-06-09 12:30 ` GNOME minimal Jonathan Brielmaier
2020-06-09 12:53   ` Tobias Geerinckx-Rice
2020-06-09 13:24     ` Pierre Neidhardt
2020-06-09 13:57       ` Alexey Abramov
2020-06-09 14:05         ` Pierre Neidhardt
2020-06-09 14:28           ` Alexey Abramov
2020-06-09 14:40             ` Pierre Neidhardt
2020-06-10 13:45               ` Alexey Abramov
2020-06-10  6:22       ` Pierre Neidhardt
2020-06-09 14:09     ` Pierre Neidhardt
2020-06-09 14:30       ` Pierre Neidhardt
2020-06-09 12:43 ` Tobias Geerinckx-Rice

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=87a71ch1kc.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).