From 0e4faa73d27666a24db387e684c45f2511ae86d2 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Fri, 4 Dec 2020 19:02:41 +0100 Subject: [PATCH] liquibase: support PostgreSQL JDBC driver --- pkgs/development/tools/database/liquibase/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/database/liquibase/default.nix b/pkgs/development/tools/database/liquibase/default.nix index 2aa774940ec..16e5fce1ebc 100644 --- a/pkgs/development/tools/database/liquibase/default.nix +++ b/pkgs/development/tools/database/liquibase/default.nix @@ -1,8 +1,11 @@ { lib, stdenv, fetchurl, jre, makeWrapper -, mysqlSupport ? true, mysql_jdbc }: +, mysqlSupport ? true, mysql_jdbc +, postgresqlSupport ? true, postgresql_jdbc }: let - extraJars = lib.optional mysqlSupport mysql_jdbc; + extraJars = + lib.optional mysqlSupport mysql_jdbc + ++ lib.optional postgresqlSupport postgresql_jdbc; in stdenv.mkDerivation rec {