nixpkgs/pkgs/development/libraries/gettext/gettext-setup-hook.sh
2018-01-06 15:11:12 +01:00

8 lines
178 B
Bash

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