mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 15:23:26 +00:00
Merge pull request #294026 from szlend/diesel-cli-remove-mariadb-server-dep
diesel-cli: remove dependency on mariadb server
This commit is contained in:
commit
272ba9d42a
@ -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