mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
octofetch: fix darwin build
This commit is contained in:
parent
541a551109
commit
f356b5f6dc
@ -1,8 +1,10 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, openssl
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -19,7 +21,8 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoSha256 = "sha256:1ddyzbpsiy54r13nb9yrm64cbbifixnhkskwg5fvhhzj4ri4ks4a";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Github user information on terminal";
|
||||
|
@ -8049,7 +8049,9 @@ with pkgs;
|
||||
|
||||
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 {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
|
Loading…
Reference in New Issue
Block a user