racket{,-minimal}: add cacert to nativeBuildInputs, silence warnings

We don't actually perform any network access, but since Racket 7.0,
when certain modules are loaded, they emit an annoying warning.
While compiling the bundled packages, this happens over and over and
pollutes the logs.

Having a correct SSL configuration prevents the warnings.
This commit is contained in:
Claes Wallin (韋嘉誠) 2019-02-01 01:02:13 +08:00
parent f94e0252f3
commit f0fbed5690

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, makeFontsConf, makeWrapper
, cacert
, cairo, coreutils, fontconfig, freefont_ttf
, glib, gmp
, gtk3
@ -60,7 +61,7 @@ stdenv.mkDerivation rec {
(stdenv.lib.optionalString stdenv.isDarwin "-framework CoreFoundation")
];
nativeBuildInputs = [ wrapGAppsHook ];
nativeBuildInputs = [ cacert wrapGAppsHook ];
buildInputs = [ fontconfig libffi libtool sqlite gsettings-desktop-schemas gtk3 ]
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv CoreFoundation ];