liquibase: support PostgreSQL JDBC driver

This commit is contained in:
Robert Helgesson
2021-01-21 23:13:24 +01:00
parent 62acc9aa8f
commit 0e4faa73d2
@@ -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 {