rates: fix build on darwin
This commit is contained in:
parent
e26132ed44
commit
db8278e295
|
@ -1,6 +1,8 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
|
@ -16,6 +18,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
cargoSha256 = "041sskiq152iywwqd8p7aqsqzbj359zl7ilnp8ahzdqprz3slk1w";
|
cargoSha256 = "041sskiq152iywwqd8p7aqsqzbj359zl7ilnp8ahzdqprz3slk1w";
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "CLI tool that brings currency exchange rates right into your terminal";
|
description = "CLI tool that brings currency exchange rates right into your terminal";
|
||||||
homepage = "https://github.com/lunush/rates";
|
homepage = "https://github.com/lunush/rates";
|
||||||
|
|
|
@ -32814,7 +32814,9 @@ with pkgs;
|
||||||
|
|
||||||
qdl = callPackage ../tools/misc/qdl { };
|
qdl = callPackage ../tools/misc/qdl { };
|
||||||
|
|
||||||
rates = callPackage ../tools/misc/rates { };
|
rates = callPackage ../tools/misc/rates {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
rargs = callPackage ../tools/misc/rargs { };
|
rargs = callPackage ../tools/misc/rargs { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue