diff --git a/srcpkgs/rstudio/patches/0007-disable-check-for-updates.patch b/srcpkgs/rstudio/patches/0007-disable-check-for-updates.patch new file mode 100644 index 00000000000..dd1eef5eeda --- /dev/null +++ b/srcpkgs/rstudio/patches/0007-disable-check-for-updates.patch @@ -0,0 +1,12 @@ +--- a/src/cpp/session/SessionClientInit.cpp ++++ b/src/cpp/session/SessionClientInit.cpp +@@ -443,8 +443,7 @@ + + sessionInfo["disable_packages"] = module_context::disablePackages(); + +- sessionInfo["disable_check_for_updates"] = +- !core::system::getenv("RSTUDIO_DISABLE_CHECK_FOR_UPDATES").empty(); ++ sessionInfo["disable_check_for_updates"] = true; + + sessionInfo["allow_vcs_exe_edit"] = options.allowVcsExecutableEdit(); + sessionInfo["allow_cran_repos_edit"] = options.allowCRANReposEdit(); diff --git a/srcpkgs/rstudio/template b/srcpkgs/rstudio/template index b2c06a205ea..dccb6b38fff 100644 --- a/srcpkgs/rstudio/template +++ b/srcpkgs/rstudio/template @@ -47,6 +47,12 @@ pre_configure() { ln -s /usr/bin/node dependencies/common/node/$_node_ver/bin/node cd src/gwt ant draft + + _maj_min=${version%*.*} + export RSTUDIO_VERSION_MAJOR=${_maj_min%.*} + export RSTUDIO_VERSION_MINOR=${_maj_min#*.} + export RSTUDIO_VERSION_PATCH=${version#*.*.*} + export PACKAGE_OS=VoidLinux } post_install() {