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 guix build, daemon: Rename "--no-build-hook" to "--no-offload". 2019-11-26 00:16:36 +01:00
git
snippets
substitutes etc: Remove hydra.gnu.org.pub key. 2019-06-29 14:27:22 +02:00
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