diff options
author | Stanisław Pitucha <git@viraptor.info> | 2022-10-17 23:44:00 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 23:44:00 +1100 |
commit | 028b21a5976f1b8006b20df4c9da01f75318add9 (patch) | |
tree | 9e4de8bba004e6cf340042578f5f6b73fb6c8e69 /pkgs | |
parent | 24312ec52750ba043a086c666065b8d8cd6d4725 (diff) | |
parent | 1268636efb5f0061bd8bfd70ea04efc012427221 (diff) |
Merge pull request #196404 from viraptor/git-nomad-darwin
git-nomad: fix darwin build
Diffstat (limited to 'pkgs')
-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 { }; |