3
0
Fork 0
forked from mirrors/nixpkgs

rates: fix build on darwin

This commit is contained in:
Sebastián Mancilla 2021-11-18 14:42:24 -03:00
parent e26132ed44
commit db8278e295
2 changed files with 7 additions and 1 deletions

View file

@ -1,6 +1,8 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
@ -16,6 +18,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "041sskiq152iywwqd8p7aqsqzbj359zl7ilnp8ahzdqprz3slk1w";
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; {
description = "CLI tool that brings currency exchange rates right into your terminal";
homepage = "https://github.com/lunush/rates";

View file

@ -32814,7 +32814,9 @@ with pkgs;
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 { };