depot/third_party/nixpkgs/pkgs/applications/science/math/R/setup-hook.sh

8 lines
151 B
Bash
Raw Normal View History

addRLibPath () {
if [[ -d "$1/library" ]]; then
addToSearchPath R_LIBS_SITE "$1/library"
fi
}
addEnvHooks "$targetOffset" addRLibPath