git-nomad: fix build
This commit is contained in:
parent
1d72880e16
commit
d0a6250668
2 changed files with 11 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, rustPlatform, fetchFromGitHub, SystemConfiguration }:
|
||||
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin, git }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "git-nomad";
|
||||
|
@ -11,13 +11,20 @@ rustPlatform.buildRustPackage rec {
|
|||
sha256 = "sha256-1PXAdXafkPOIVzaWjW/RlWHwYhMqPoj0Hj5JmOMUj8A=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ SystemConfiguration ];
|
||||
|
||||
cargoHash = "sha256-ULcdJRla1JwI0y6ngW9xQXjNw2wO48HuAczsNIsJJK0=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
git
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Synchronize work-in-progress git branches in a light weight fashion";
|
||||
homepage = "https://github.com/rraval/git-nomad";
|
||||
changelog = "https://github.com/rraval/git-nomad/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ rraval ];
|
||||
};
|
||||
|
|
|
@ -1769,9 +1769,7 @@ with pkgs;
|
|||
|
||||
git-machete = python3Packages.callPackage ../applications/version-management/git-machete { };
|
||||
|
||||
git-nomad = callPackage ../applications/version-management/git-nomad {
|
||||
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
|
||||
};
|
||||
git-nomad = callPackage ../applications/version-management/git-nomad { };
|
||||
|
||||
git-octopus = callPackage ../applications/version-management/git-octopus { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue