R: add man output
This commit is contained in:
@@ -59,6 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
"tex"
|
||||
];
|
||||
|
||||
|
||||
@@ -11,6 +11,11 @@ symlinkJoin {
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
];
|
||||
|
||||
buildInputs = [ R ] ++ recommendedPackages ++ packages;
|
||||
paths = [ R ];
|
||||
|
||||
@@ -24,6 +29,8 @@ symlinkJoin {
|
||||
makeWrapper "${R}/bin/$exe" "$out/bin/$exe" \
|
||||
--prefix "R_LIBS_SITE" ":" "$R_LIBS_SITE"
|
||||
done
|
||||
|
||||
ln -s ${R.man} $man
|
||||
'';
|
||||
|
||||
# Make the list of recommended R packages accessible to other packages such as rpy2
|
||||
|
||||
Reference in New Issue
Block a user