guix/etc
Prafulla Giri 30810aff71
guix-install.sh: Create an init profile during installation
Create an init profile (/etc/profile.d/guix.sh) during installation for
better integration with foreign distros. This file, read by login-shells
sets a few environment variables (PATH, GUIX_PROFILE, GUIX_LOCALE, along
with XDG_DATA_DIRS) and makes guix-installed packages readily available
for the users. Other environment variables, as listed by `guix package
--search-paths=prefix`, are also exported.

Checks are in place to prevent the init profile from needlessly polluting
the user's environment.

* etc/guix-install.sh (sys_create_init_profile): New function to create
/etc/profile.d/guix.sh init profile.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-01-17 17:28:57 +01:00
..
completion
git
snippets Add (guix bzr-download). 2019-05-09 00:22:37 -04:00
substitutes
guix-daemon.cil.in
guix-daemon.conf.in
guix-daemon.service.in
guix-install.sh guix-install.sh: Create an init profile during installation 2020-01-17 17:28:57 +01:00
guix-publish.conf.in
guix-publish.service.in
indent-code.el.in
news.scm news: Add 'de' translation. 2019-12-12 18:08:56 +00:00