me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/etc
Alexander Krotov 7ff169d04f
guix-install.sh: Correctly treat empty or unset $XDG_DATA_DIRS
If $XDG_DATA_DIRS is unset, default value of "/usr/local/share:/usr/share"
is used according to XDG Base Directory Specification. However,
/etc/profile.d/guix.sh treats this value as empty list when appending its
own directory, so after installing Guix on the system, launchers such
as Rofi stop searching for .desktop files in /usr/share/applications/
and can't launch applications other than those installed with Guix.

This patch fixes the bug in generated /etc/profile.d/guix.sh

* etc/guix-install.sh (sys_create_init_profile): Use default value of
  /usr/local/share:/usr/share/ before appending if $XDG_DATA_DIRS is not
  set.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-01-26 23:21:39 +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: Correctly treat empty or unset $XDG_DATA_DIRS 2020-01-26 23:21:39 +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 ‘nl’ translation. 2020-01-24 18:19:20 +01:00