RStudio: 1.4.1717 -> 2022.02.3+492 (#177021)
rstudio: 1.4.1717 -> 2022.02.3+492 The old version does not compile with gcc11. Also the used nixos-22.05 libraries (R interpreter) have changed their interfaces that have to be also patched. Updating RStudio is useful. * Remove Quarto patch Follow review in https://github.com/NixOS/nixpkgs/pull/177021#pullrequestreview-1007625773 * Fix not FHS paths Create explicit nix path replacement of hard coded FHS paths for pandoc and nodejs.main
parent
1216d8e7ab
commit
1f95c49331
@ -0,0 +1,19 @@ |
||||
--- a/src/cpp/desktop/DesktopOptions.cpp
|
||||
+++ b/src/cpp/desktop/DesktopOptions.cpp
|
||||
@@ -499,15 +499,9 @@
|
||||
{
|
||||
if (resourcesPath_.isEmpty())
|
||||
{
|
||||
-#ifdef RSTUDIO_PACKAGE_BUILD
|
||||
// release configuration: the 'resources' folder is
|
||||
// part of the supporting files folder
|
||||
- resourcesPath_ = supportingFilePath().completePath("resources");
|
||||
-#else
|
||||
- // developer configuration: the 'resources' folder is
|
||||
- // a sibling of the RStudio executable
|
||||
- resourcesPath_ = scriptsPath().completePath("resources");
|
||||
-#endif
|
||||
+ resourcesPath_ = supportingFilePath().completePath("resources");
|
||||
}
|
||||
|
||||
return resourcesPath_;
|
@ -0,0 +1,11 @@ |
||||
--- a/src/cpp/session/include/session/SessionConstants.hpp
|
||||
+++ b/src/cpp/session/include/session/SessionConstants.hpp
|
||||
@@ -140,7 +140,7 @@
|
||||
#ifdef QUARTO_ENABLED
|
||||
# define kDefaultPandocPath "bin/quarto/bin"
|
||||
#else
|
||||
-# define kDefaultPandocPath "bin/pandoc"
|
||||
+# define kDefaultPandocPath "@pandoc@"
|
||||
#endif
|
||||
|
||||
#define kDefaultQuartoPath "bin/quarto"
|
@ -0,0 +1,28 @@ |
||||
--- a/src/gwt/build.xml
|
||||
+++ b/src/gwt/build.xml
|
||||
@@ -84,23 +84,7 @@
|
||||
</target>
|
||||
|
||||
<!-- panmirror typescript library -->
|
||||
- <!-- ensure version matches RSTUDIO_NODE_VERSION -->
|
||||
- <property name="node.version" value="14.17.5"/>
|
||||
- <property name="node.dir" value="../../dependencies/common/node/${node.version}"/>
|
||||
- <condition property="node.bin" value="../../../${node.dir}/bin/node">
|
||||
- <not>
|
||||
- <os family="windows" />
|
||||
- </not>
|
||||
- </condition>
|
||||
- <condition property="node.bin" value="${node.dir}/node.exe">
|
||||
- <os family="windows" />
|
||||
- </condition>
|
||||
-
|
||||
- <!-- use node from /opt/rstudio-tools if installed (typical for Docker) -->
|
||||
- <available
|
||||
- property="node.bin"
|
||||
- value="/opt/rstudio-tools/dependencies/common/node/${node.version}/bin/node"
|
||||
- file="/opt/rstudio-tools/dependencies/common/node/${node.version}/bin/node"/>
|
||||
+ <property name="node.bin" value="@node@/bin/node"/>
|
||||
|
||||
<property name="panmirror.dir" value="./panmirror/src/editor"/>
|
||||
<property name="panmirror.build.dir" value="./www/js/panmirror"/>
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue