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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
151 B
Bash
Raw Normal View History

2025-10-09 14:15:47 +02:00
addRLibPath () {
if [[ -d "$1/library" ]]; then
addToSearchPath R_LIBS_SITE "$1/library"
fi
}
addEnvHooks "$targetOffset" addRLibPath