guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package variation


From: Brett Gilio
Subject: Re: Package variation
Date: Wed, 24 Oct 2018 16:02:02 -0500
User-agent: mu4e 1.0; emacs 26.1

Ludovic Courtès writes:

> Hi!
>
> Brett Gilio <address@hidden> skribis:
>
>> I am trying to customize my the default gnome-package which gets
>> installed with the gnome-desktop-service.
>
> On this topic, don’t miss Chris’s excellent tutorial:
>
>   
> https://gnu.org/software/guix/blog/2018/customize-guixsd-use-stock-ssh-agent-everywhere/
>
> :-)
>
> Ludo’.

Thank you for the feedback Ludo. I read the article and made some
customizations, but something about setting the gnome-custom package is
still resulting in the regular gnome meta-package being used. I did some
interactive debugging using Guile, and it seems like nautilus is being
successfully removed, which is why my suspicion is on the package
setting being invalid. I've also tried a myriad of different ways of
setting the gnome-custom package, none of which seem to be resulting in
nautilus being removed. This isn't about "nautilus" per-say, but rather
being able to customize how gnome is used on my system.

Here is my current config.

(use-modules (gnu) (gnu system nss) (guix packages) (srfi srfi-1) (ice-9 match))
(use-service-modules desktop)
(use-package-modules certs gnome)

(define-public gnome-custom
    (package (inherit gnome)
      (name "gnome-custom")
      (propagated-inputs (remove
                           (match-lambda
                             ((name _)
                              (string=? name "nautilus")))
                           (package-propagated-inputs gnome)))))


(operating-system

...

(services (cons* (gnome-desktop-service
                    #:config (gnome-desktop-configuration
                              (gnome-package gnome-custom)))
                   %desktop-services))


Any ideas?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]