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
|
, cmake
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, stdenv
|
, stdenv
|
||||||
, libiconv
|
, apple-sdk_11
|
||||||
, Security
|
|
||||||
, SystemConfiguration
|
|
||||||
, curl
|
, curl
|
||||||
, openssl
|
, openssl
|
||||||
, buildPackages
|
, buildPackages
|
||||||
@ -33,7 +31,7 @@ in rustPlatform.buildRustPackage rec {
|
|||||||
nativeBuildInputs = [ cmake pkg-config installShellFiles ];
|
nativeBuildInputs = [ cmake pkg-config installShellFiles ];
|
||||||
|
|
||||||
buildInputs = [ curl ] ++ (if stdenv.hostPlatform.isDarwin
|
buildInputs = [ curl ] ++ (if stdenv.hostPlatform.isDarwin
|
||||||
then [ libiconv Security SystemConfiguration ]
|
then [ apple-sdk_11 ]
|
||||||
else [ openssl ]);
|
else [ openssl ]);
|
||||||
|
|
||||||
preFixup = lib.optionalString canRunCmd ''
|
preFixup = lib.optionalString canRunCmd ''
|
||||||
|
@ -1250,9 +1250,7 @@ with pkgs;
|
|||||||
|
|
||||||
gita = python3Packages.callPackage ../applications/version-management/gita { };
|
gita = python3Packages.callPackage ../applications/version-management/gita { };
|
||||||
|
|
||||||
gitoxide = darwin.apple_sdk_11_0.callPackage ../applications/version-management/gitoxide {
|
gitoxide = callPackage ../applications/version-management/gitoxide { };
|
||||||
inherit (darwin.apple_sdk_11_0.frameworks) Security SystemConfiguration;
|
|
||||||
};
|
|
||||||
|
|
||||||
github-cli = gh;
|
github-cli = gh;
|
||||||
git-absorb = callPackage ../applications/version-management/git-absorb {
|
git-absorb = callPackage ../applications/version-management/git-absorb {
|
||||||
|
Loading…
Reference in New Issue
Block a user