nixpkgs/pkgs/development/libraries/gettext/gettext-setup-hook.sh

8 lines
164 B
Bash
Raw Normal View History

gettextDataDirsHook() {
if [ -d "$1/share/gettext" ]; then
addToSearchPath GETTEXTDATADIRS "$1/share/gettext"
fi
}
envHooks+=(gettextDataDirsHook)