summary refs log tree commit diff
path: root/scripts/guix.in
diff options
context:
space:
mode:
authorPhilip McGrath <philip@philipmcgrath.com>2022-07-03 22:35:02 -0400
committerLudovic Courtès <ludo@gnu.org>2022-07-04 23:38:37 +0200
commit23aafc800c9e678662766440916449ec5bbce830 (patch)
tree4a63c70fffb038a6d1a90d92bdd5b22a48f8199c /scripts/guix.in
parenta3d86b341d361530127c36fbfbf77d638df2c1de (diff)
downloadguix-23aafc800c9e678662766440916449ec5bbce830.tar.gz
etc/guix-install.sh: Initialize XDG base directories.
The default values from the XDG base directory specification make little
sense for Guix System, and some scripts in Guix assume that they are not
"empty or unset": for example, see <https://issues.guix.gnu.org/56050>.
On foreign distros, however, omitting the default values is likely to
break software from the distro, perhaps even preventing the desktop
environment from starting. To smooth over the difference, use the
system-wide configuration to ensure the environment variables are always
explicitly set on foreign distros.

* etc/guix-install.sh (sys_create_init_profile): Explicitly initialize
XDG base directory variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'scripts/guix.in')
0 files changed, 0 insertions, 0 deletions