mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
rstudio: enable parallel building
Also cleanup inputs.
This commit is contained in:
parent
b1736511ce
commit
e2a7f508fc
@ -10,7 +10,9 @@ in
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "RStudio-${version}";
|
name = "RStudio-${version}";
|
||||||
|
|
||||||
buildInputs = [ cmake boost zlib openssl R qt5.full qt5.qtwebkit qt5.qtwebchannel libuuid unzip ant jdk makeWrapper pandoc ];
|
nativeBuildInputs = [ cmake unzip ant jdk makeWrapper pandoc ];
|
||||||
|
|
||||||
|
buildInputs = [ boost zlib openssl R qt5.full qt5.qtwebkit qt5.qtwebchannel libuuid ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/rstudio/rstudio/archive/v${version}.tar.gz";
|
url = "https://github.com/rstudio/rstudio/archive/v${version}.tar.gz";
|
||||||
@ -96,6 +98,8 @@ stdenv.mkDerivation rec {
|
|||||||
cp ${pandoc}/bin/pandoc dependencies/common/pandoc/
|
cp ${pandoc}/bin/pandoc dependencies/common/pandoc/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
cmakeFlags = [ "-DRSTUDIO_TARGET=Desktop" "-DQT_QMAKE_EXECUTABLE=$NIX_QT5_TMP/bin/qmake" ];
|
cmakeFlags = [ "-DRSTUDIO_TARGET=Desktop" "-DQT_QMAKE_EXECUTABLE=$NIX_QT5_TMP/bin/qmake" ];
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
|
Loading…
Reference in New Issue
Block a user