The way I work around this is to use (guix-for-channels ...) in the
sytem's configuration, and never guix pull. The only guix is the
system's: /run/current-system/profile/bin/guix


Kristoffer Ström <kristof...@rymdkoloni.se> writes:

> Hello, I am running a multi-user system, and use guix-home-service-type
> to setup the user home directories.
>
> One of the users is the "main" user (A) that handle the guix pull, the
> editing and setup of system configuration files etc, the other (B) is a user
> account that should just be managed by user A.
>
> The problem i'm having is that the packages that user B sees, seems to
> be independent of running guix pull and a subsequent sudo -E guix system
> reconfigure on user A.
>
> Relative lines from reconfigure:
>
> shepherd: Service user-homes has been started.
> shepherd: Starting service guix-home-b...
> shepherd: Service guix-home-b has been started.
>
> When i run this in a virtual machine, the user B is instantiated with
> the latest version of all packages, however it seems there is some state
> persisting in user B that prevents it from seeing the latest version of
> packages as provided by the pull and system reconfigure.
>
> I do not want to run an extra guix pull in user B, since this feels like
> a waste of resources, and i do want the profiles to be always in sync.
>
> Is there some option i'm missing?
>
> Best, Kristoffer Ström.

Reply via email to