blob: 0c5d934c10c37966fb9083f4d6082a19d077497d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
source $stdenv/setup
export R_LIBS_SITE="$R_LIBS_SITE${R_LIBS_SITE:+:}$out/library"
if test -n "$rPreHook"; then
eval "$rPreHook"
fi
installPhase() {
runHook preInstall
mkdir -p $out/library
R CMD INSTALL -l $out/library $src
runHook postInstall
}
postFixup() {
if test -e $out/nix-support/propagated-native-build-inputs; then
ln -s $out/nix-support/propagated-native-build-inputs $out/nix-support/propagated-user-env-packages
fi
}
genericBuild
|