Hi Andreas,

> So it looks as if the simple act of calling "guix package -u" requires
> gtk+@3 and samba; how is this possible?

(The following is a guess.)

This behavior depends on the contents of your profile due to profile
hooks.  The module (guix profiles) defines this:

--8<---------------cut here---------------start------------->8---
(define %default-profile-hooks
  ;; This is the list of derivation-returning procedures that are called by
  ;; default when making a non-empty profile.
  (list info-dir-file
        manual-database/optional
        fonts-dir-file
        ghc-package-cache-file
        ca-certificate-bundle
        emacs-subdirs
        gdk-pixbuf-loaders-cache-file
        glib-schemas
        gtk-icon-themes
        gtk-im-modules
        texlive-font-maps
        xdg-desktop-database
        xdg-mime-database))
--8<---------------cut here---------------end--------------->8---

The "gtk-icon-themes" hook, for example, is executed when your profile
contains "gtk+" according to its "manifest" file.

A problem with this hook is that it also prepares #+gtk+:bin instead of
looking it up in the profile.  It does that *before* eventually deciding
that the hook might not be needed because "gtk+" isn't actually
contained in the profile.  Oops.

The "gtk-im-modules" hook, on the other hand, only looks up "gtk+"
(versions 3 and 2) in the profile manifest and does not do anything if
they are not found.

Of all the profile hooks that reference gtk+ the "gtk-icon-themes" hook
looks the most suspicious to me.

-- 
Ricardo

Reply via email to