Skip to content

Commit

Permalink
Merge pull request #72954 from nkpart/nkpart/R-darwin-enable-tcltk
Browse files Browse the repository at this point in the history
R: enable tcltk on darwin
  • Loading branch information
matthewbauer committed Nov 7, 2019
2 parents a6d3df1 + 22d0ccb commit 551d9f6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkgs/applications/science/math/R/default.nix
Expand Up @@ -23,9 +23,8 @@ stdenv.mkDerivation rec {
buildInputs = [
bzip2 gfortran libX11 libXmu libXt libXt libjpeg libpng libtiff ncurses
pango pcre perl readline texLive xz zlib less texinfo graphviz icu
pkgconfig bison imake which openblas curl
] ++ stdenv.lib.optionals (!stdenv.isDarwin) [ tcl tk ]
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa Foundation libobjc libcxx ]
pkgconfig bison imake which openblas curl tcl tk
] ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa Foundation libobjc libcxx ]
++ stdenv.lib.optional javaSupport jdk;

patches = [
Expand Down Expand Up @@ -62,8 +61,6 @@ stdenv.mkDerivation rec {
RANLIB=$(type -p ranlib)
R_SHELL="${stdenv.shell}"
'' + stdenv.lib.optionalString stdenv.isDarwin ''
--without-tcltk
--without-aqua
--disable-R-framework
OBJC="clang"
CPPFLAGS="-isystem ${libcxx}/include/c++/v1"
Expand Down

0 comments on commit 551d9f6

Please sign in to comment.