bitwarden_rs: fix darwin build

authored by Stéphan Kochen and committed by Jonathan Ringer cd66ac5f 59ac1c0c

+2 -2
+2 -2
pkgs/tools/security/bitwarden_rs/default.nix
··· 1 { lib, stdenv, rustPlatform, fetchFromGitHub, nixosTests 2 , pkg-config, openssl 3 - , Security, CoreServices 4 , dbBackend ? "sqlite", libmysqlclient, postgresql }: 5 6 let ··· 19 20 nativeBuildInputs = [ pkg-config ]; 21 buildInputs = with lib; [ openssl ] 22 - ++ optionals stdenv.isDarwin [ Security CoreServices ] 23 ++ optional (dbBackend == "mysql") libmysqlclient 24 ++ optional (dbBackend == "postgresql") postgresql; 25
··· 1 { lib, stdenv, rustPlatform, fetchFromGitHub, nixosTests 2 , pkg-config, openssl 3 + , libiconv, Security, CoreServices 4 , dbBackend ? "sqlite", libmysqlclient, postgresql }: 5 6 let ··· 19 20 nativeBuildInputs = [ pkg-config ]; 21 buildInputs = with lib; [ openssl ] 22 + ++ optionals stdenv.isDarwin [ libiconv Security CoreServices ] 23 ++ optional (dbBackend == "mysql") libmysqlclient 24 ++ optional (dbBackend == "postgresql") postgresql; 25