mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
The wrapper is supposed to transparently add things to XDG_DATA_DIRS, not to take things out of it. But because XDG_DATA_DIRS has an implicit default if unset, and the wrapper set XDG_DATA_DIRS without preserving that default value if it was unset outside the wrapper, that's what it was doing in practice. I've tested that these default paths are not accidentally added if XDG_DATA_DIRS is set outside the wrapper, and that the other directories we want to add to XDG_DATA_DIRS are correctly included in both cases.