mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
Merge pull request #12431 from henrytill/racket-6.3
racket: 6.2.1 -> 6.3, add parameter to enable building docs
This commit is contained in:
commit
a69192df2b
@ -3,6 +3,7 @@
|
||||
, glib, gmp, gtk, libffi, libjpeg, libpng
|
||||
, libtool, mpfr, openssl, pango, poppler
|
||||
, readline, sqlite
|
||||
, disableDocs ? true
|
||||
}:
|
||||
|
||||
let
|
||||
@ -31,11 +32,11 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "racket-${version}";
|
||||
version = "6.2.1";
|
||||
version = "6.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://mirror.racket-lang.org/installers/${version}/${name}-src.tgz";
|
||||
sha256 = "0555j63k7fs10iv0icmivlxpzgp6s7gwcbfddmbwxlf2rk80qhq0";
|
||||
sha256 = "0f21vnads6wsrzimfja969gf3pkl60s0rdfrjf9s70lcy9x0jz4i";
|
||||
};
|
||||
|
||||
FONTCONFIG_FILE = fontsConf;
|
||||
@ -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 New Issue
Block a user