mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
diesel-cli: remove dependency on mariadb server
This commit is contained in:
parent
2abc5df546
commit
af07c5dd1e
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user