mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
gitui: fix darwin build (#103194)
Fixes: = note: ld: warning: passed two min versions (10.12.0, 10.12) for platform macOS. Using 10.12. ld: framework not found AppKit clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
This commit is contained in:
parent
e43b443121
commit
4e2a217211
2 changed files with 3 additions and 3 deletions
|
@ -198,7 +198,7 @@ let
|
|||
gitstatus = callPackage ./gitstatus { };
|
||||
|
||||
gitui = callPackage ./gitui {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
inherit (darwin.apple_sdk.frameworks) Security AppKit;
|
||||
};
|
||||
|
||||
grv = callPackage ./grv { };
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, rustPlatform, fetchFromGitHub, libiconv, xorg, python3, Security }:
|
||||
{ stdenv, rustPlatform, fetchFromGitHub, libiconv, xorg, python3, Security, AppKit }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "gitui";
|
||||
version = "0.10.1";
|
||||
|
@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
|
|||
nativeBuildInputs = [ python3 ];
|
||||
buildInputs = [ ]
|
||||
++ stdenv.lib.optional stdenv.isLinux xorg.libxcb
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security AppKit ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Blazing fast terminal-ui for git written in rust";
|
||||
|
|
Loading…
Reference in a new issue