ps: without running guix pull with root privileges.

-------- Original Message --------
On Aug 19, 2024, 20:03, Oleander wrote:

> How can I enter the sudo password before `guix pull` runs when updating with 
> `guix pull && sudo guix system reconfigure config.scm`?
>
> `sudo sh -c "su -c 'guix pull' $USER && guix system reconfigure config.scm"` 
> returns:
>
> "hint: After setting PATH, run hash guix to make sure your shell refers to 
> /home/user/.config/guix/current/bin/guix"
>
> Thank you!

Reply via email to