mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
racket: add parameter to enable building docs
This commit is contained in:
parent
edaf46fb64
commit
6fc61a173e
1 changed files with 3 additions and 1 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue