Skip to content

Commit

Permalink
fix_:include appleLibXPC
Browse files Browse the repository at this point in the history
Added appleLibXPC to buildInputs to pull in darwin.apple_sdk.libs.xpc.
  • Loading branch information
mendelskiv93 committed Sep 30, 2024
1 parent 1e8b012 commit e18c381
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@ let
inherit xcodeWrapper;
withAndroidPkgs = !isMacM1;
};

/* Include the XPC library */
appleLibXPC = pkgs.darwin.apple_sdk.libs.xpc;

in pkgs.mkShell {
name = "status-go-shell";

buildInputs = with pkgs; [
git jq which
go golangci-lint go-junit-report gopls go-bindata gomobileMod codecov-cli
mockgen protobuf3_20 protoc-gen-go gotestsum go-modvendor openjdk cc-test-reporter
] ++ lib.optionals (stdenv.isDarwin) [ xcodeWrapper ];
] ++ lib.optionals (stdenv.isDarwin) [ xcodeWrapper appleLibXPC ];

shellHook = lib.optionalString (!isMacM1) ''
ANDROID_HOME=${pkgs.androidPkgs.androidsdk}/libexec/android-sdk
Expand Down

0 comments on commit e18c381

Please sign in to comment.