diff options
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/git-nomad/default.nix | 4 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/git-nomad/default.nix b/pkgs/applications/version-management/git-and-tools/git-nomad/default.nix index f11e978ceafbd..04ba2ca849a6e 100644 --- a/pkgs/applications/version-management/git-and-tools/git-nomad/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git-nomad/default.nix @@ -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; { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b4a518f5a3dc8..a44b41f4296d9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { }; |