Skip to content

Commit

Permalink
rstudioWrapper: don't wrap with QT anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
TomaSajt committed Jan 10, 2025
1 parent ac12737 commit 904ffd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions pkgs/development/r-modules/wrapper-rstudio.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
R,
rstudio,
makeWrapper,
wrapQtAppsHook,
recommendedPackages,
packages,
fontconfig,
Expand All @@ -14,7 +13,7 @@ runCommand (rstudio.name + "-wrapper")
preferLocalBuild = true;
allowSubstitutes = false;

nativeBuildInputs = [ (if rstudio.server then makeWrapper else wrapQtAppsHook) ];
nativeBuildInputs = [ makeWrapper ];
dontWrapQtApps = true;

buildInputs =
Expand Down Expand Up @@ -56,7 +55,7 @@ runCommand (rstudio.name + "-wrapper")
else
''
ln -s ${rstudio}/share $out
makeQtWrapper ${rstudio}/bin/rstudio $out/bin/rstudio \
makeWrapper ${rstudio}/bin/rstudio $out/bin/rstudio \
--set R_PROFILE_USER $out/$fixLibsR
''
)
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11280,7 +11280,7 @@ with pkgs;
wrapR = false;
};

rstudioWrapper = libsForQt5.callPackage ../development/r-modules/wrapper-rstudio.nix {
rstudioWrapper = callPackage ../development/r-modules/wrapper-rstudio.nix {
recommendedPackages = with rPackages; [
boot class cluster codetools foreign KernSmooth lattice MASS
Matrix mgcv nlme nnet rpart spatial survival
Expand Down

0 comments on commit 904ffd6

Please sign in to comment.