Merge pull request #294026 from szlend/diesel-cli-remove-mariadb-server-dep

diesel-cli: remove dependency on mariadb server
This commit is contained in:
Pol Dellaiera 2024-03-14 11:58:05 +01:00 committed by GitHub
commit 272ba9d42a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@
, libiconv
, sqlite
, postgresql
, mariadb
, libmysqlclient
, zlib
}:
@ -42,7 +42,7 @@ rustPlatform.buildRustPackage rec {
++ optional (stdenv.isDarwin && mysqlSupport) libiconv
++ optional sqliteSupport sqlite
++ optional postgresqlSupport postgresql
++ optionals mysqlSupport [ mariadb zlib ];
++ optionals mysqlSupport [ libmysqlclient zlib ];
buildNoDefaultFeatures = true;
buildFeatures = optional sqliteSupport "sqlite"