about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2020-12-04 19:02:41 +0100
committerRobert Helgesson <robert@rycee.net>2021-01-21 23:13:24 +0100
commit0e4faa73d27666a24db387e684c45f2511ae86d2 (patch)
tree72d98c8a7fd3eab206481ef0a632bcbc68e36c6e /pkgs/development/tools
parent62acc9aa8f142c297d496688a8305dad8b331483 (diff)
downloadnixlib-0e4faa73d27666a24db387e684c45f2511ae86d2.tar
nixlib-0e4faa73d27666a24db387e684c45f2511ae86d2.tar.gz
nixlib-0e4faa73d27666a24db387e684c45f2511ae86d2.tar.bz2
nixlib-0e4faa73d27666a24db387e684c45f2511ae86d2.tar.lz
nixlib-0e4faa73d27666a24db387e684c45f2511ae86d2.tar.xz
nixlib-0e4faa73d27666a24db387e684c45f2511ae86d2.tar.zst
nixlib-0e4faa73d27666a24db387e684c45f2511ae86d2.zip
liquibase: support PostgreSQL JDBC driver
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/database/liquibase/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/tools/database/liquibase/default.nix b/pkgs/development/tools/database/liquibase/default.nix
index 2aa774940ec3..16e5fce1ebc0 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 {