nixpkgs/pkgs/development/libraries/kde-frameworks-5.15/kdoctools/setup-hook.sh

6 lines
86 B
Bash
Raw Normal View History

addXdgData() {
addToSearchPath XDG_DATA_DIRS "$1/share"
}
envHooks+=(addXdgData)