Add optional yaml support to ruby

svn path=/nixpkgs/trunk/; revision=30536
This commit is contained in:
Shea Levy 2011-11-23 06:32:17 +00:00
parent 68aaf3c843
commit 58fbba200c

View file

@ -4,6 +4,7 @@
, gdbm, gdbmSupport ? true
, ncurses, readline, cursesSupport ? false
, groff, docSupport ? false
, libyaml, yamlSupport ? false
}:
let
@ -28,7 +29,8 @@ stdenv.mkDerivation rec {
++ (op docSupport groff )
++ (op zlibSupport zlib)
++ (op opensslSupport openssl)
++ (op gdbmSupport gdbm);
++ (op gdbmSupport gdbm)
++ (op yamlSupport libyaml);
configureFlags = ["--enable-shared" "--enable-pthread"];