build ruby with gdbm support
svn path=/nixpkgs/trunk/; revision=16789
This commit is contained in:
parent
e7dc062579
commit
79038a2038
@ -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"] ;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user