Hi Zelphir!

with `sudo -i` I get the same hint.

-------- Original Message --------
On Aug 20, 2024, 13:30, Zelphir Kaltstahl 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!
>
> Hi!
>
> In the past I learned, that when updating the guix system, I have to use:
>
> ~~~~
> sudo -i
> ~~~~
>
> And then run the guix commands. Otherwise guix still has/sees environment 
> variables from my user shell/profile/environment and that can mess up Guix. 
> So I want to share that bit of info with you. Hope it helps, even if not 
> directly related to your question.
>
> Best wishes,
> Zelphir
>
> --
> repositories:
> https://notabug.org/ZelphirKaltstahl
> ,
> https://codeberg.org/ZelphirKaltstahl

Reply via email to