git-nomad: fix darwin build

This commit is contained in:
Stanisław Pitucha 2022-10-17 22:25:18 +11:00
parent ab6176ac5b
commit 1268636efb
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, SystemConfiguration }:
rustPlatform.buildRustPackage rec {
pname = "git-nomad";
@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-1PXAdXafkPOIVzaWjW/RlWHwYhMqPoj0Hj5JmOMUj8A=";
};
buildInputs = lib.optionals stdenv.isDarwin [ SystemConfiguration ];
cargoHash = "sha256-ULcdJRla1JwI0y6ngW9xQXjNw2wO48HuAczsNIsJJK0=";
meta = with lib; {

View file

@ -6996,7 +6996,9 @@ with pkgs;
git-my = callPackage ../applications/version-management/git-and-tools/git-my { };
git-nomad = callPackage ../applications/version-management/git-and-tools/git-nomad { };
git-nomad = callPackage ../applications/version-management/git-and-tools/git-nomad {
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
};
git-octopus = callPackage ../applications/version-management/git-and-tools/git-octopus { };