summary refs log tree commit diff
path: root/pkgs/development/libraries/db4/db4-4.4.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/db4/db4-4.4.nix')
-rw-r--r--pkgs/development/libraries/db4/db4-4.4.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/libraries/db4/db4-4.4.nix b/pkgs/development/libraries/db4/db4-4.4.nix
index 4304cd8f9f3..7444439fc73 100644
--- a/pkgs/development/libraries/db4/db4-4.4.nix
+++ b/pkgs/development/libraries/db4/db4-4.4.nix
@@ -1,8 +1,10 @@
 {stdenv, fetchurl, cxxSupport ? true, compat185 ? true}:
 
-stdenv.mkDerivation ({
+stdenv.mkDerivation {
   name = "db4-4.4.20";
+  
   builder = ./builder.sh;
+  
   src = fetchurl {
     urls = [
       http://download.oracle.com/berkeley-db/db-4.4.20.NC.tar.gz
@@ -10,8 +12,11 @@ stdenv.mkDerivation ({
     ];
     md5 = "afd9243ea353bbaa04421488d3b37900";
   };
+  
   configureFlags = [
     (if cxxSupport then "--enable-cxx" else "--disable-cxx")
     (if compat185 then "--enable-compat185" else "--disable-compat185")
   ];
-} // (if stdenv.system == "i686-cygwin" then {patches = [./cygwin-4.4.patch];} else {}))
+
+  patches = [ ./cygwin-4.4.patch ];
+}