@@ -1,6 +1,10 @@
11{ stdenv, fetchurl, makeFontsConf, makeWrapper
22, cairo, coreutils, fontconfig, freefont_ttf
3−, glib, gmp, gtk3, libedit, libffi, libjpeg
3+, glib, gmp
4+, gtk3
5+, libedit, libffi
6+, libiconv
7+, libjpeg
48, libpng, libtool, mpfr, openssl, pango, poppler
59, readline, sqlite
610, disableDocs ? false
@@ -56,7 +60,7 @@ stdenv.mkDerivation rec {
5660 ];
5761
5862 buildInputs = [ fontconfig libffi libtool makeWrapper sqlite gsettings-desktop-schemas gtk3 ]
59− ++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation ];
63+ ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv CoreFoundation ];
6064
6165 preConfigure = ''
6266 unset AR
@@ -98,6 +102,6 @@ stdenv.mkDerivation rec {
98102 homepage = http://racket-lang.org/;
99103 license = licenses.lgpl3;
100104 maintainers = with maintainers; [ kkallio henrytill vrthra ];
101− platforms = [ "x86_64-linux" ];
105+ platforms = [ "x86_64-darwin" "x86_64-linux" ];
102106 };
103107}