summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2022-02-28 02:16:36 -0500
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2022-02-28 02:16:36 -0500
commita5396c031be3a862e53e65b253108eba8c17e8a6 (patch)
tree0a951dd2f88618d670d557c2e9df19f8d366f454 /pkgs/development/tools
parent9783ef308da620a48a9849d977dd1dfdf7f9ba45 (diff)
downloadnixpkgs-a5396c031be3a862e53e65b253108eba8c17e8a6.tar
nixpkgs-a5396c031be3a862e53e65b253108eba8c17e8a6.tar.gz
nixpkgs-a5396c031be3a862e53e65b253108eba8c17e8a6.tar.bz2
nixpkgs-a5396c031be3a862e53e65b253108eba8c17e8a6.tar.lz
nixpkgs-a5396c031be3a862e53e65b253108eba8c17e8a6.tar.xz
nixpkgs-a5396c031be3a862e53e65b253108eba8c17e8a6.tar.zst
nixpkgs-a5396c031be3a862e53e65b253108eba8c17e8a6.zip
rebazel: fix darwin build
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/rebazel/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/tools/rebazel/default.nix b/pkgs/development/tools/rebazel/default.nix
index 5dee0a1b9e8..c28701f96a2 100644
--- a/pkgs/development/tools/rebazel/default.nix
+++ b/pkgs/development/tools/rebazel/default.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";