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

6 lines
87 B
Bash

addRLibPath () {
addToSearchPath R_LIBS_SITE $1/library
}
envHooks+=(addRLibPath)