mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
a5c832f1af
Fixes #32296 (cherry picked from commit f727aeb4505a9646eb7f7d67ed0fd411900b570c)
8 lines
164 B
Bash
8 lines
164 B
Bash
gettextDataDirsHook() {
|
|
if [ -d "$1/share/gettext" ]; then
|
|
addToSearchPath GETTEXTDATADIRS "$1/share/gettext"
|
|
fi
|
|
}
|
|
|
|
envHooks+=(gettextDataDirsHook)
|