Package: guix
Version: 1.2.0-4
Followup-For: Bug #985916

Dear Maintainer,

As an update with the /etc/profiles.d/guix.sh update at some point my GNOME
Desktop crashed and wouldn't restart.

gnome-shell was dying with this error message
"Settings schema 'org.gnome.desktop.peripherals.touchpad' does not contain a
key named 'tap-button-map'"

extracted from the stack trace.

#0  g_log_structured_array (log_level=<optimized out>, fields=0x7fffc50d5f90,
n_fields=4) at ../../../glib/gmessages.c:554
#1  0x00007f3fbdc560b5 in g_log_default_handler
(log_domain=log_domain@entry=0x7f3fbded28f8 "GLib-GIO",
log_level=log_level@entry=6,
    message=message@entry=0x7f3fac020d80 "Settings schema
'org.gnome.desktop.peripherals.touchpad' does not contain a key named 'tap-
button-map'", unused_data=unused_data@entry=0x0) at
../../../glib/gmessages.c:3123
#2  0x00007f3fbdc56309 in g_logv (log_domain=0x7f3fbded28f8 "GLib-GIO",
log_level=G_LOG_LEVEL_ERROR, format=<optimized out>,
    args=<optimized out>) at ../../../glib/gmessages.c:1350
...

What I eventually figured out was there were glib-2.0 settings installed into
my .guix-profile probably from installing the guix's graphical version of emacs
and that version is older than what's being used by Debian and gnome is very
cranky about this.

I disabled automatically activating my user level .guix-profile, while still
adding the pulled guix command by adding a return in /etc/profile.d/guix.sh.

Is there a way to limit the guix-profile changes to just interactive shells?
And does the desktop startup only use the non-interactive shell configuration?

Thanks
Diane

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'stable-debug'), (500, 'testing'),
(500, 'stable'), (110, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-5-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages guix depends on:
ii  guile-2.2       2.2.7+1-5.4
ii  guile-2.2-libs  2.2.7+1-5.4
ii  guile-gcrypt    0.3.0-3
ii  guile-git       0.4.0-3
ii  guile-gnutls    3.7.1-1
ii  guile-json      4.3.2-2
ii  guile-lzlib     0.0.2-2
ii  guile-sqlite3   0.1.3-2
ii  guile-ssh       0.13.1-4
ii  guile-zlib      0.0.1-3
ii  libbz2-1.0      1.0.8-4
ii  libc6           2.31-11
ii  libgcc-s1       10.1.0-1
ii  libgcrypt20     1.8.7-3
ii  libsqlite3-0    3.34.1-3
ii  libssh-dev      0.9.5-1
ii  libstdc++6      10.1.0-1
ii  zlib1g          1:1.2.11.dfsg-2

Versions of packages guix recommends:
ii  nscd     2.31-11
ii  systemd  247.3-3

guix suggests no packages.

-- Configuration Files:
/etc/profile.d/guix.sh changed:
_GUIX_PROFILE="$HOME/.config/guix/current"
if [ -L $_GUIX_PROFILE ]; then
  export PATH="$_GUIX_PROFILE/bin${PATH:+:}$PATH"
  # Export INFOPATH so that the updated info pages can be found
  # and read by both /usr/bin/info and/or $GUIX_PROFILE/bin/info
  # When INFOPATH is unset, add a trailing colon so that Emacs
  # searches 'Info-default-directory-list'.
  export INFOPATH="$_GUIX_PROFILE/share/info:$INFOPATH"
fi
return
GUIX_PROFILE="$HOME/.guix-profile"
[ -L $GUIX_PROFILE ] || return
GUIX_LOCPATH="$GUIX_PROFILE/lib/locale"
export GUIX_PROFILE GUIX_LOCPATH
[ -f "$GUIX_PROFILE/etc/profile" ] && . "$GUIX_PROFILE/etc/profile"
export
XDG_DATA_DIRS="$GUIX_PROFILE/share:${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}"

Reply via email to