From f7e13ad70c08011a6bb915858e3c3e34febae9fc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 13:27:03 +0200 Subject: [PATCH] postgresql: Move docs to separate output This cuts almost 15 MB. --- pkgs/servers/sql/postgresql/9.0.x.nix | 2 ++ pkgs/servers/sql/postgresql/9.1.x.nix | 2 ++ pkgs/servers/sql/postgresql/9.2.x.nix | 2 ++ pkgs/servers/sql/postgresql/9.3.x.nix | 2 ++ pkgs/servers/sql/postgresql/9.4.x.nix | 2 ++ 5 files changed, 10 insertions(+) diff --git a/pkgs/servers/sql/postgresql/9.0.x.nix b/pkgs/servers/sql/postgresql/9.0.x.nix index ef7e5d3797fe..4249b40c5c4a 100644 --- a/pkgs/servers/sql/postgresql/9.0.x.nix +++ b/pkgs/servers/sql/postgresql/9.0.x.nix @@ -10,6 +10,8 @@ stdenv.mkDerivation rec { sha256 = "19gq6axjhvlr5zlrzwnll1fbrvai4xh0nb1jki6gmmschl6v5m4l"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ zlib readline openssl ]; LC_ALL = "C"; diff --git a/pkgs/servers/sql/postgresql/9.1.x.nix b/pkgs/servers/sql/postgresql/9.1.x.nix index 7616f92ca624..09f468b50bb5 100644 --- a/pkgs/servers/sql/postgresql/9.1.x.nix +++ b/pkgs/servers/sql/postgresql/9.1.x.nix @@ -10,6 +10,8 @@ stdenv.mkDerivation rec { sha256 = "1a44hmcvfaa8j169ladsibmvjakw6maaxqkzz1ab8139cqkda9i7"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ zlib readline openssl ]; enableParallelBuilding = true; diff --git a/pkgs/servers/sql/postgresql/9.2.x.nix b/pkgs/servers/sql/postgresql/9.2.x.nix index 51a265da7854..6b0792f50cd3 100644 --- a/pkgs/servers/sql/postgresql/9.2.x.nix +++ b/pkgs/servers/sql/postgresql/9.2.x.nix @@ -10,6 +10,8 @@ stdenv.mkDerivation rec { sha256 = "0i3avdr8mnvn6ldkx0hc4jmclhisb2338hzs0j2m03wck8hddjsx"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ zlib readline openssl ]; enableParallelBuilding = true; diff --git a/pkgs/servers/sql/postgresql/9.3.x.nix b/pkgs/servers/sql/postgresql/9.3.x.nix index 3e0b7d4a76ef..d45cdadf1e9f 100644 --- a/pkgs/servers/sql/postgresql/9.3.x.nix +++ b/pkgs/servers/sql/postgresql/9.3.x.nix @@ -12,6 +12,8 @@ stdenv.mkDerivation rec { sha256 = "0j85j69rf54cwz5yhrhk4ca22b82990j5sqb8cr1fl9843nd0fzp"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ zlib readline openssl ] ++ optionals (!stdenv.isDarwin) [ libossp_uuid ]; diff --git a/pkgs/servers/sql/postgresql/9.4.x.nix b/pkgs/servers/sql/postgresql/9.4.x.nix index cdb689fc110b..d09a65282225 100644 --- a/pkgs/servers/sql/postgresql/9.4.x.nix +++ b/pkgs/servers/sql/postgresql/9.4.x.nix @@ -12,6 +12,8 @@ stdenv.mkDerivation rec { sha256 = "04q07g209y99xzjh88y52qpvz225rxwifv8nzp3bxzfni2bdk3jk"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ zlib readline openssl ] ++ optionals (!stdenv.isDarwin) [ libossp_uuid ];