diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-05-12 09:54:30 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2019-05-12 09:54:30 -0500 |
commit | 1e9ad86cd3aaa372a088e7e3024a5ec5956c8239 (patch) | |
tree | 13f83300c56eaed004ed28fa3705ddd39d4d49d4 /pkgs/tools/security/bitwarden_rs | |
parent | a2e69f1b06c5244178d61bbc5541a1417c83bf39 (diff) |
bitwarden_rs: fix darwin build
Diffstat (limited to 'pkgs/tools/security/bitwarden_rs')
-rw-r--r-- | pkgs/tools/security/bitwarden_rs/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/security/bitwarden_rs/default.nix b/pkgs/tools/security/bitwarden_rs/default.nix index 3db979767cbf..d22a2773fd9d 100644 --- a/pkgs/tools/security/bitwarden_rs/default.nix +++ b/pkgs/tools/security/bitwarden_rs/default.nix @@ -1,4 +1,4 @@ -{ lib, rustPlatform, fetchFromGitHub, pkgconfig, openssl }: +{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig, openssl, Security, CoreServices }: rustPlatform.buildRustPackage rec { pname = "bitwarden_rs"; @@ -12,13 +12,13 @@ rustPlatform.buildRustPackage rec { }; nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ openssl ]; + buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ Security CoreServices ]; RUSTC_BOOTSTRAP = 1; cargoSha256 = "038l6alcdc0g4avpbzxgd2k09nr3wrsbry763bq2c77qqgwldj8r"; - meta = with lib; { + meta = with stdenv.lib; { description = "An unofficial lightweight implementation of the Bitwarden server API using Rust and SQLite"; homepage = https://github.com/dani-garcia/bitwarden_rs; license = licenses.gpl3; |