bitwarden_rs: fix darwin build
This commit is contained in:
parent
59ac1c0c48
commit
cd66ac5fc3
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, nixosTests
|
||||
, pkg-config, openssl
|
||||
, Security, CoreServices
|
||||
, libiconv, Security, CoreServices
|
||||
, dbBackend ? "sqlite", libmysqlclient, postgresql }:
|
||||
|
||||
let
|
||||
@ -19,7 +19,7 @@ in rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = with lib; [ openssl ]
|
||||
++ optionals stdenv.isDarwin [ Security CoreServices ]
|
||||
++ optionals stdenv.isDarwin [ libiconv Security CoreServices ]
|
||||
++ optional (dbBackend == "mysql") libmysqlclient
|
||||
++ optional (dbBackend == "postgresql") postgresql;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user