gitoxide: use new Darwin SDK pattern (#354904)

This commit is contained in:
Theodore Ni 2024-11-11 20:55:53 -08:00 committed by GitHub
commit c2bdfe6700
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 7 deletions

View File

@ -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 ''

View File

@ -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 {