liquibase: support PostgreSQL JDBC driver

This commit is contained in:
Robert Helgesson
2020-12-04 19:02:41 +01:00
parent 62acc9aa8f
commit 0e4faa73d2

View File

@@ -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 {