diff --git a/pkgs/development/interpreters/python/2.5/default.nix b/pkgs/development/interpreters/python/2.5/default.nix index 6bbb584841f6..79c49ad481c4 100644 --- a/pkgs/development/interpreters/python/2.5/default.nix +++ b/pkgs/development/interpreters/python/2.5/default.nix @@ -1,6 +1,8 @@ -{stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2}: +{stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2, + gdbmSupport ? true, gdbm ? null}: assert zlibSupport -> zlib != null; +assert gdbmSupport -> gdbm != null; with stdenv.lib; @@ -8,8 +10,9 @@ let buildInputs = optional (stdenv ? gcc && stdenv.gcc.libc != null) stdenv.gcc.libc ++ - [bzip2] ++ - optional zlibSupport zlib; + [bzip2] + ++ optional zlibSupport zlib + ++ optional gdbmSupport gdbm; in diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c4544dcee007..6f4d9d622191 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1760,7 +1760,7 @@ let pkgs = rec { }; python25 = import ../development/interpreters/python/2.5 { - inherit fetchurl stdenv zlib bzip2; + inherit fetchurl stdenv zlib bzip2 gdbm; }; pyrex = pyrex095;