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

5 lines
101 B
Bash

addRLibPath () {
addToSearchPath R_LIBS_SITE $1/library
}
envHooks=(${envHooks[@]} addRLibPath)