build ruby with gdbm support

svn path=/nixpkgs/trunk/; revision=16789
This commit is contained in:
Marc Weber 2009-08-20 20:19:01 +00:00
parent e7dc062579
commit 79038a2038
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,7 @@
, lib
, zlib ? null
, openssl ? null
, gdbm ? null
, makeOverridable
}:
@ -16,6 +17,7 @@ makeOverridable (stdenv.mkDerivation) rec {
buildInputs = [ncurses readline]
++(lib.optional (zlib != null) zlib)
++(lib.optional (openssl != null) openssl)
++(lib.optional (gdbm != null) gdbm)
;
configureFlags = ["--enable-shared" "--enable-pthread"] ;

View File

@ -2228,7 +2228,7 @@ let
};
ruby18 = import ../development/interpreters/ruby {
inherit fetchurl stdenv readline ncurses zlib lib openssl makeOverridable;
inherit fetchurl stdenv readline ncurses zlib lib openssl makeOverridable gdbm;
};
ruby19 = import ../development/interpreters/ruby/ruby-19.nix { inherit ruby18 fetchurl; };
ruby = ruby18;