Hi! Ludovic Courtès skribis: > So I went further to test the initial GLib patch I posted in “real > conditions”. I did some more testing using a similar workflow: this time I repeatedly changed the profile (installing/removing packages), which showed that the first patch was buggy (it would only notice the creation of ~/.guix-profile and nothing beyond that). This is in part due to the fact that ‘GFileMonitor’ follows symlinks (it doesn’t pass the ‘IN_DONT_FOLLOW’ inotify flag). Thus, when it monitors ~/.guix-profile, it’s really monitoring /gnu/store/…-profile, which never changes. So with this new patch it’s monitoring /var/guix/profiles/per-user/USER and /var/guix/profiles instead, which correctly detects changes. It detects a bit “too much” (for instance, running ‘guix pull’ triggers the inotify hook because it changes /var/guix/profiles/per-user/USER/current-guix) but that’s probably OK. If you’re using GNOME, Xfce, or another GLib-based desktop environment, I’d welcome tests on the bare metal! Just apply the patch on a checkout of ‘master’ and run: sudo -E ./pre-inst-env guix system reconfigure … If there are no objections, I’d like to apply this patch shortly so we can go ahead with a last round of pre-release tests. Ludo’.