git.iko.soy/typeable/nixpkgs
on master help sign in
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)

commit4e2a217211337b0e9bc7cf6dd2c5484996c2792c authorAndrew Childs <lorne@cons.org.nz> dateWed 11 Nov 2020, 00:13 (6 years ago) parente43b443
2 files changed+3−3
pkgs/applications/version-management/git-and-tools/default.nix+1−1 pkgs/applications/version-management/git-and-tools/gitui/default.nix+2−2
pkgs/applications/version-management/git-and-tools/default.nix+1−1
@@ -198,7 +198,7 @@ let
198198 gitstatus = callPackage ./gitstatus { };
199199
200200 gitui = callPackage ./gitui {
201− inherit (darwin.apple_sdk.frameworks) Security;
201+ inherit (darwin.apple_sdk.frameworks) Security AppKit;
202202 };
203203
204204 grv = callPackage ./grv { };
pkgs/applications/version-management/git-and-tools/gitui/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, rustPlatform, fetchFromGitHub, libiconv, xorg, python3, Security }:
1+{ stdenv, rustPlatform, fetchFromGitHub, libiconv, xorg, python3, Security, AppKit }:
22rustPlatform.buildRustPackage rec {
33 pname = "gitui";
44 version = "0.10.1";
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
1515 nativeBuildInputs = [ python3 ];
1616 buildInputs = [ ]
1717 ++ stdenv.lib.optional stdenv.isLinux xorg.libxcb
18− ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
18+ ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security AppKit ];
1919
2020 meta = with stdenv.lib; {
2121 description = "Blazing fast terminal-ui for git written in rust";