422da176d7
hire me...). There is a very small race between processes exiting the environment and processes entering, such that the entering process would incorrectly conclude that the exiting process had died and recovery was necessary. However, this race was triggering crashes on a daily basis in our build farm. svn path=/nixpkgs/trunk/; revision=8712
15 lines
492 B
Nix
15 lines
492 B
Nix
{stdenv, fetchurl, cxxSupport ? true, compat185 ? true}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "db4-4.5.20";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://download-east.oracle.com/berkeley-db/db-4.5.20.tar.gz;
|
|
md5 = "b0f1c777708cb8e9d37fb47e7ed3312d";
|
|
};
|
|
configureFlags = [
|
|
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
|
|
(if compat185 then "--enable-compat185" else "--disable-compat185")
|
|
];
|
|
patches = [./cygwin-4.5.patch ./register-race-fix.patch];
|
|
}
|