rebazel: fix darwin build

main
Dmitry Kalinkin 2 years ago
parent 9783ef308d
commit a5396c031b
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
  1. 5
      pkgs/development/tools/rebazel/default.nix
  2. 4
      pkgs/top-level/all-packages.nix

@ -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";

@ -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 { };

Loading…
Cancel
Save