Adonay Felipe Nogueira <[email protected]> writes:

> As a personal preference, I always do:
>
> # guix pull && guix package -u
>
> ... as root, and then:
>
> $ guix pull && guix package -u
>
> ... as normal user

I wrote a little script to not compile 2 times :-)

After running "guix pull" with regular user run this with sudo.

#!/bin/sh
GUIX_LATEST=/root/.config/guix/latest
unlink $GUIX_LATEST && ln -s $(readlink $HOME/.config/guix/latest) $GUIX_LATEST

Reply via email to