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