racket: add parameter to enable building docs

This commit is contained in:
Henry Till 2016-01-16 15:57:02 -05:00
parent edaf46fb64
commit 6fc61a173e

View file

@ -3,6 +3,7 @@
, glib, gmp, gtk, libffi, libjpeg, libpng
, libtool, mpfr, openssl, pango, poppler
, readline, sqlite
, disableDocs ? true
}:
let
@ -50,7 +51,8 @@ stdenv.mkDerivation rec {
cd src/build
'';
configureFlags = [ "--enable-shared" "--enable-lt=${libtool}/bin/libtool" "--disable-docs"];
configureFlags = [ "--enable-shared" "--enable-lt=${libtool}/bin/libtool" ]
++ stdenv.lib.optional disableDocs [ "--disable-docs" ];
configureScript = "../configure";