unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* GNOME minimal
@ 2020-06-09 12:21 Pierre Neidhardt
  2020-06-09 12:30 ` Jonathan Brielmaier
  2020-06-09 12:43 ` Tobias Geerinckx-Rice
  0 siblings, 2 replies; 13+ messages in thread
From: Pierre Neidhardt @ 2020-06-09 12:21 UTC (permalink / raw)
  To: guix-devel

[-- 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 --]

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

end of thread, other threads:[~2020-06-10 13:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-09 12:21 GNOME minimal Pierre Neidhardt
2020-06-09 12:30 ` 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

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).