rebazel: fix darwin build

This commit is contained in:
Dmitry Kalinkin 2022-02-28 02:16:36 -05:00
parent 9783ef308d
commit a5396c031b
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,5 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
rustPlatform.buildRustPackage rec {
pname = "rebazel";
version = "0.1.4";
@ -12,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-cBAm8LyNKEVJkhZJ+QZU5XtQutb1oNvad8xH70Bi2LM=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
meta = with lib; {
description = "tool for expediting bazel build workflows";
homepage = "https://github.com/meetup/rebazel";

View File

@ -14416,7 +14416,9 @@ with pkgs;
bazelisk = callPackage ../development/tools/bazelisk { };
rebazel = callPackage ../development/tools/rebazel { };
rebazel = callPackage ../development/tools/rebazel {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
buildBazelPackage = callPackage ../build-support/build-bazel-package { };