R: add man output

This commit is contained in:
Sandro Jäckel
2025-11-18 23:40:21 +01:00
parent e9efeac16c
commit aa22853984
2 changed files with 8 additions and 0 deletions
@@ -59,6 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
outputs = [
"out"
"man"
"tex"
];
+7
View File
@@ -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