Merge pull request #49488 from eadwu/rstudioWrapper/add-desktop-file

rstudioWrapper: include desktop file
This commit is contained in:
Dmitry Kalinkin 2018-12-10 17:18:44 -05:00 committed by GitHub
commit 86344b3a52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,7 @@ runCommand (rstudio.name + "-wrapper") {
}
''
mkdir $out
ln -s ${rstudio}/share $out
echo "# Autogenerated by wrapper-rstudio.nix from R_LIBS_SITE" > $out/$fixLibsR
echo -n ".libPaths(c(.libPaths(), \"" >> $out/$fixLibsR
echo -n $R_LIBS_SITE | sed -e 's/:/", "/g' >> $out/$fixLibsR