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

6 lines
86 B
Bash

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