mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
gitoxide: use new Darwin SDK pattern (#354904)
This commit is contained in:
commit
c2bdfe6700
@ -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