racket-minimal: fix build on darwin

This commit is contained in:
Mario Rodas 2021-02-14 17:40:00 +01:00
parent aa36e5d524
commit 661c43188e

View file

@ -8,6 +8,7 @@
, libGL , libGL
, libGLU , libGLU
, libjpeg , libjpeg
, ncurses
, libpng, libtool, mpfr, openssl, pango, poppler , libpng, libtool, mpfr, openssl, pango, poppler
, readline, sqlite , readline, sqlite
, disableDocs ? false , disableDocs ? false
@ -68,7 +69,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cacert wrapGAppsHook ]; nativeBuildInputs = [ cacert wrapGAppsHook ];
buildInputs = [ fontconfig libffi libtool sqlite gsettings-desktop-schemas gtk3 ] buildInputs = [ fontconfig libffi libtool sqlite gsettings-desktop-schemas gtk3 ]
++ lib.optionals stdenv.isDarwin [ libiconv CoreFoundation ]; ++ lib.optionals stdenv.isDarwin [ libiconv CoreFoundation ncurses ];
preConfigure = '' preConfigure = ''
unset AR unset AR