From cde41fe551a5c27e48e8318ec4f8cf8e0cb5e901 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 6 Apr 2013 15:24:11 +0200 Subject: [PATCH] perl-packages.nix, all-packages.nix: generally refer to 'postgresql' instead of 'postgresql92' This allows users to override the 'postgres' attribute with a different version and have the effect propagated to all other packages that depend on it. --- pkgs/top-level/all-packages.nix | 8 +++----- pkgs/top-level/perl-packages.nix | 3 +-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b1f42e2ade60..5feb863ecb1f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5547,9 +5547,7 @@ let postgresql_jdbc = callPackage ../servers/sql/postgresql/jdbc { }; - psqlodbc = callPackage ../servers/sql/postgresql/psqlodbc { - postgresql = postgresql91; - }; + psqlodbc = callPackage ../servers/sql/postgresql/psqlodbc { }; pyIRCt = builderDefsPackage (import ../servers/xmpp/pyIRCt) { inherit xmpppy pythonIRClib python makeWrapper; @@ -7693,7 +7691,7 @@ let ratpoison = callPackage ../applications/window-managers/ratpoison { }; rawtherapee = callPackage ../applications/graphics/rawtherapee { - fftw = fftw.override {float = true;}; + fftw = fftw.override {float = true;}; }; rcs = callPackage ../applications/version-management/rcs { }; @@ -7993,7 +7991,7 @@ let wings = callPackage ../applications/graphics/wings { erlang = erlangR14B04; - esdl = esdl.override { erlang = erlangR14B04; }; + esdl = esdl.override { erlang = erlangR14B04; }; }; wmname = callPackage ../applications/misc/wmname { }; diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 2856ae88e374..80f7410d4ac0 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -1518,8 +1518,7 @@ rec { }; DBDPg = import ../development/perl-modules/DBD-Pg { - inherit stdenv fetchurl buildPerlPackage DBI; - postgresql = pkgs.postgresql92; + inherit stdenv fetchurl buildPerlPackage DBI postgresql; }; DBFile = import ../development/perl-modules/DB_File {