summary refs log tree commit diff
path: root/pkgs/servers/sql/postgresql/9.0.x.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/sql/postgresql/9.0.x.nix')
-rw-r--r--pkgs/servers/sql/postgresql/9.0.x.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/servers/sql/postgresql/9.0.x.nix b/pkgs/servers/sql/postgresql/9.0.x.nix
index 72d7f7a816f6..340307c01f90 100644
--- a/pkgs/servers/sql/postgresql/9.0.x.nix
+++ b/pkgs/servers/sql/postgresql/9.0.x.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, zlib, readline }:
+{ stdenv, fetchurl, zlib, readline, openssl }:
 
 let version = "9.0.19"; in
 
@@ -10,10 +10,12 @@ stdenv.mkDerivation rec {
     sha256 = "1h45jdbzdcvprdsi9gija81s3ny46h3faf9f007gza4vm6y15bak";
   };
 
-  buildInputs = [ zlib readline ];
+  buildInputs = [ zlib readline openssl ];
 
   LC_ALL = "C";
 
+  configureFlags = [ "--with-openssl" ];
+
   patches = [ ./less-is-more.patch ];
 
   passthru = {