rebazel: fix darwin build
This commit is contained in:
parent
9783ef308d
commit
a5396c031b
|
@ -1,4 +1,5 @@
|
||||||
{ lib, rustPlatform, fetchFromGitHub }:
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "rebazel";
|
pname = "rebazel";
|
||||||
version = "0.1.4";
|
version = "0.1.4";
|
||||||
|
@ -12,6 +13,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
cargoSha256 = "sha256-cBAm8LyNKEVJkhZJ+QZU5XtQutb1oNvad8xH70Bi2LM=";
|
cargoSha256 = "sha256-cBAm8LyNKEVJkhZJ+QZU5XtQutb1oNvad8xH70Bi2LM=";
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "tool for expediting bazel build workflows";
|
description = "tool for expediting bazel build workflows";
|
||||||
homepage = "https://github.com/meetup/rebazel";
|
homepage = "https://github.com/meetup/rebazel";
|
||||||
|
|
|
@ -14416,7 +14416,9 @@ with pkgs;
|
||||||
|
|
||||||
bazelisk = callPackage ../development/tools/bazelisk { };
|
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 { };
|
buildBazelPackage = callPackage ../build-support/build-bazel-package { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue