cloak: fix build on darwin
This commit is contained in:
parent
a807630064
commit
2f5fc99989
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cloak";
|
||||
|
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoSha256 = "0af38wgwmsamnx63dwfm2nrkd8wmky3ai7zwy0knmifgkn4b7yyj";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/evansmurithi/cloak";
|
||||
description = "Command-line OTP authenticator application";
|
||||
|
|
|
@ -259,7 +259,9 @@ with pkgs;
|
|||
|
||||
clj-kondo = callPackage ../development/tools/clj-kondo { };
|
||||
|
||||
cloak = callPackage ../applications/misc/cloak { };
|
||||
cloak = callPackage ../applications/misc/cloak {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
cmark = callPackage ../development/libraries/cmark { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue