Merge pull request #9309 from iFreilicht/patch-2

Add release note on XDG_DATA_DIRS change
This commit is contained in:
Valentin Gagarin 2023-11-06 23:55:12 +01:00 committed by GitHub
commit fe62cb79a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,3 +64,8 @@
```
This makes it match `nix derivation show`, which also maps store paths to information.
- When Nix is installed using the [binary installer](@docroot@/installation/installing-binary.md), in supported shells (Bash, Zsh, Fish)
[`XDG_DATA_DIRS`](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables) is now populated with the path to the `/share` subdirectory of the current profile.
This means that command completion scripts, `.desktop` files, and similar artifacts installed via [`nix-env`](@docroot@/command-ref/nix-env.md) or [`nix profile`](@docroot@/command-ref/new-cli/nix3-profile.md)
(experimental) can be found by any program that follows the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html).