git.iko.soy/typeable/nixpkgs
on master help sign in
racket: on darwin, use libiconv

Without libiconv, racket doesn't support UTF-16, and this breaks one of the tests. Closes #34576

commit2f8f18986ae661dd73f6c74dfcbbdb276a5354f3 authorClaes Wallin (韋嘉誠) <claes.wallin@greatsinodevelopment.com> dateFri 23 Feb 2018, 22:49 (9 years ago) parent098c7f3
1 file changed+5−3
pkgs/development/interpreters/racket/default.nix+5−3
pkgs/development/interpreters/racket/default.nix+5−3
@@ -1,6 +1,8 @@
11{ stdenv, fetchurl, makeFontsConf, makeWrapper
22, cairo, coreutils, fontconfig, freefont_ttf
3−, glib, gmp, gtk2, libedit, libffi, libjpeg
3+, glib, gmp, gtk2, libedit, libffi
4+, libiconv
5+, libjpeg
46, libpng, libtool, mpfr, openssl, pango, poppler
57, readline, sqlite
68, disableDocs ? false
@@ -54,7 +56,7 @@ stdenv.mkDerivation rec {
5456 ];
5557
5658 buildInputs = [ fontconfig libffi libtool makeWrapper sqlite ]
57− ++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation ];
59+ ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv CoreFoundation ];
5860
5961 preConfigure = ''
6062 unset AR
@@ -92,6 +94,6 @@ stdenv.mkDerivation rec {
9294 homepage = http://racket-lang.org/;
9395 license = licenses.lgpl3;
9496 maintainers = with maintainers; [ kkallio henrytill vrthra ];
95− platforms = [ "x86_64-linux" ];
97+ platforms = [ "x86_64-darwin" "x86_64-linux" ];
9698 };
9799}