mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
gitoxide: use new Darwin SDK pattern
This commit is contained in:
parent
e20360e289
commit
77c2f1bb3c
@ -4,9 +4,7 @@
|
||||
, cmake
|
||||
, pkg-config
|
||||
, stdenv
|
||||
, libiconv
|
||||
, Security
|
||||
, SystemConfiguration
|
||||
, apple-sdk_11
|
||||
, curl
|
||||
, openssl
|
||||
, buildPackages
|
||||
@ -33,7 +31,7 @@ in rustPlatform.buildRustPackage rec {
|
||||
nativeBuildInputs = [ cmake pkg-config installShellFiles ];
|
||||
|
||||
buildInputs = [ curl ] ++ (if stdenv.hostPlatform.isDarwin
|
||||
then [ libiconv Security SystemConfiguration ]
|
||||
then [ apple-sdk_11 ]
|
||||
else [ openssl ]);
|
||||
|
||||
preFixup = lib.optionalString canRunCmd ''
|
||||
|
@ -1250,9 +1250,7 @@ with pkgs;
|
||||
|
||||
gita = python3Packages.callPackage ../applications/version-management/gita { };
|
||||
|
||||
gitoxide = darwin.apple_sdk_11_0.callPackage ../applications/version-management/gitoxide {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
gitoxide = callPackage ../applications/version-management/gitoxide { };
|
||||
|
||||
github-cli = gh;
|
||||
git-absorb = callPackage ../applications/version-management/git-absorb {
|
||||
|
Loading…
Reference in New Issue
Block a user