mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
git-branchless: use new Darwin SDK pattern
This commit is contained in:
parent
4551bd2dba
commit
83bd590807
@ -2,15 +2,12 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
git,
|
||||
libiconv,
|
||||
ncurses,
|
||||
openssl,
|
||||
pkg-config,
|
||||
rustPlatform,
|
||||
sqlite,
|
||||
stdenv,
|
||||
Security,
|
||||
SystemConfiguration,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -28,17 +25,11 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
ncurses
|
||||
openssl
|
||||
sqlite
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
Security
|
||||
SystemConfiguration
|
||||
libiconv
|
||||
];
|
||||
buildInputs = [
|
||||
ncurses
|
||||
openssl
|
||||
sqlite
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (with stdenv; buildPlatform.canExecute hostPlatform) ''
|
||||
$out/bin/git-branchless install-man-pages $out/share/man
|
||||
|
@ -1227,9 +1227,7 @@ with pkgs;
|
||||
|
||||
git-archive-all = python3.pkgs.callPackage ../applications/version-management/git-archive-all { };
|
||||
|
||||
git-branchless = callPackage ../applications/version-management/git-branchless {
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
git-branchless = callPackage ../applications/version-management/git-branchless { };
|
||||
|
||||
git-cinnabar = callPackage ../applications/version-management/git-cinnabar {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
|
Loading…
Reference in New Issue
Block a user