diff options
author | Jakub Kądziołka <kuba@kadziolka.net> | 2021-01-01 18:26:51 +0100 |
---|---|---|
committer | Jakub Kądziołka <kuba@kadziolka.net> | 2021-01-03 17:01:26 +0100 |
commit | 9d34b04f40aa510ba910a15a64ab8d8c8d1b6fd3 (patch) | |
tree | 13506d3e43698c8f58e1aa046cc06afe872d755f /m4 | |
parent | 2cb5ebf7a89b59e3e220b837202e4469e1db38c7 (diff) | |
download | guix-9d34b04f40aa510ba910a15a64ab8d8c8d1b6fd3.tar.gz |
/etc/profile.d/guix.sh: Add guix pull profile even when absent
* etc/guix-install.sh (sys_create_init_profile): Set PATH and INFOPATH even when $_GUIX_PROFILE does not exist. After initial installation on a foreign distro, the guix pull profile won't be present in path. This means that the first guix pull won't take effect until the shell is restarted. ~/.guix-profile cannot be pre-loaded like this as the relevant paths are stored in ~/.guix-profile/etc/profile, which simply won't exist. However, guix package will output a relevant hint that instructs the user to reload the profile, so this isn't a problem.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions