octofetch: fix darwin build
This commit is contained in:
parent
541a551109
commit
f356b5f6dc
|
@ -1,8 +1,10 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, openssl
|
, openssl
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
|
@ -19,7 +21,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
cargoSha256 = "sha256:1ddyzbpsiy54r13nb9yrm64cbbifixnhkskwg5fvhhzj4ri4ks4a";
|
cargoSha256 = "sha256:1ddyzbpsiy54r13nb9yrm64cbbifixnhkskwg5fvhhzj4ri4ks4a";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl ];
|
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
|
||||||
|
++ lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Github user information on terminal";
|
description = "Github user information on terminal";
|
||||||
|
|
|
@ -8049,7 +8049,9 @@ with pkgs;
|
||||||
|
|
||||||
ocserv = callPackage ../tools/networking/ocserv { };
|
ocserv = callPackage ../tools/networking/ocserv { };
|
||||||
|
|
||||||
octofetch = callPackage ../tools/misc/octofetch { };
|
octofetch = callPackage ../tools/misc/octofetch {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
oha = callPackage ../tools/networking/oha {
|
oha = callPackage ../tools/networking/oha {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
|
Loading…
Reference in a new issue