I don't use sudo I loged in as root and the path is set the bashrc is loaded.

Ricardo Wurmus <[email protected]> writes:

> Stefan Huchler <[email protected]> writes:
>
>> Another annoying thing is that I have to use the -I parameter from guix:
>> guix system reconfigure /etc/config.scm -L guix-packages/
>>
>> I set that to .bashrc:
>>
>> export GUIX_PACKAGE_PATH="~/guix-packages"
>>
>> Why do I have to use the -L parameter when I already have defined that
>> path?
>
> You should not have to.  I assume ~/guix-packages is a set of custom
> modules.  GUIX_PACKAGE_PATH affects all of Guix.  But it won’t be
> available when you use “sudo” unless you tell “sudo” to keep the
> currently set environment (e.g. with “sudo -E”).
>
> “guix system reconfigure” must run with root permissions.


Reply via email to