mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
1f95c49331
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.
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
--- 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"/>
|
|
|