diff options
author | Robin Gloster <mail@glob.in> | 2017-12-27 17:00:39 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-12-29 02:18:35 +0100 |
commit | 572b2bda4e0a2245f465738cc919197ae0af06a4 (patch) | |
tree | 25e272248d6d0c114354a946430499b789b7be31 /pkgs/development/tools/database | |
parent | 6903ea60502865fe4397d8aaacc38ff674acaeb9 (diff) | |
download | nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.tar nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.gz nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.bz2 nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.lz nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.xz nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.zst nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.zip |
treewide: generalise for both mysql & mariadb
Diffstat (limited to 'pkgs/development/tools/database')
-rw-r--r-- | pkgs/development/tools/database/shmig/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/database/shmig/default.nix b/pkgs/development/tools/database/shmig/default.nix index a397ba696977..49e90ce64c87 100644 --- a/pkgs/development/tools/database/shmig/default.nix +++ b/pkgs/development/tools/database/shmig/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchFromGitHub , withMySQL ? false, withPSQL ? false, withSQLite ? false -, mariadb, postgresql, sqlite, gawk, which +, mysql, postgresql, sqlite, gawk, which , lib }: @@ -20,7 +20,7 @@ stdenv.mkDerivation { patchShebangs . substituteInPlace shmig \ - --replace "\`which mysql\`" "${lib.optionalString withMySQL "${mariadb}/bin/mysql"}" \ + --replace "\`which mysql\`" "${lib.optionalString withMySQL "${mysql.client}/bin/mysql"}" \ --replace "\`which psql\`" "${lib.optionalString withPSQL "${postgresql}/bin/psql"}" \ --replace "\`which sqlite3\`" "${lib.optionalString withSQLite "${sqlite}/bin/sqlite3"}" \ --replace "awk" "${gawk}/bin/awk" \ |