guix-play/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 etc: The pre-push hook says which commits failed the signature check. 2017-02-08 03:42:08 +01:00
snippets Add (guix bzr-download). 2019-05-09 00:22:37 -04:00
substitutes etc: Remove hydra.gnu.org.pub key. 2019-06-29 14:27:22 +02:00
guix-daemon.cil.in etc: Remove references to libexec/guix* from SELinux policy. 2019-09-08 11:49:25 +02:00
guix-daemon.conf.in build: Binary tarball now populates the "current-guix" profile. 2018-11-23 15:42:01 +01:00
guix-daemon.service.in etc: guix-daemon.service.in: Fix GUIX_LOCPATH quoting. 2019-06-05 11:48:55 +02:00
guix-install.sh guix-install.sh: Create an init profile during installation 2020-01-17 17:28:57 +01:00
guix-publish.conf.in build: Binary tarball now populates the "current-guix" profile. 2018-11-23 15:42:01 +01:00
guix-publish.service.in etc: Fix GUIX_LOCPATH quoting in 'guix-publish.service' file. 2019-06-05 17:27:22 +02:00
indent-code.el.in etc: indent-code.el: Define source tree by "indent-code.el". 2017-05-04 22:45:53 +03:00
news.scm news: Add 'de' translation. 2019-12-12 18:08:56 +00:00