summary refs log tree commit diff
path: root/tests/search-paths.scm
diff options
context:
space:
mode:
authorPrafulla Giri <prafulla.giri@protonmail.com>2022-11-08 13:39:21 +0545
committer宋文武 <iyzsong@member.fsf.org>2022-11-14 10:25:45 +0800
commit775134ebf537895bcb7bf2a6c541846845403737 (patch)
tree12c1e5384208dc909872e723f1c4642b7a526b63 /tests/search-paths.scm
parent3ff0a976e8f9e3792b39b5968cb9ff066eb4ba60 (diff)
downloadguix-775134ebf537895bcb7bf2a6c541846845403737.tar.gz
guix-install.sh: Remove unnecessary XDG_DATA_DIRS export.
This started out as a bug-fix for a GUI login loop that was resulting from XDG_DATA_DIRS
not including any of the host distro's directories. The solution was to export the vari-
able (with fail-safe defaults) before source-ing GUIX_PROFILE/etc/profile. It turns out
changes have already been made to ensure that XDG_DATA_DIRS, etc. are always exported
before anything guix-specific. So, this export is no longer necessary.

For reference, the aforementioned bug was found on a Debian 11 machine and it's guix.sh
init profile for guix version 1.2.

* etc/guix-install.sh (sys_create_init_profile): Remove unnecessary
XDG_DATA_DIRS export.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'tests/search-paths.scm')
0 files changed, 0 insertions, 0 deletions