about summary refs log tree commit diff
path: root/pkgs/development/tools/bacon/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/bacon/default.nix')
-rw-r--r--pkgs/development/tools/bacon/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/tools/bacon/default.nix b/pkgs/development/tools/bacon/default.nix
index 3a7e7e7ef66d..1cf066e6b494 100644
--- a/pkgs/development/tools/bacon/default.nix
+++ b/pkgs/development/tools/bacon/default.nix
@@ -1,4 +1,4 @@
-{ lib, rustPlatform, fetchFromGitHub }:
+{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
 
 rustPlatform.buildRustPackage rec {
   pname = "bacon";
@@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
 
   cargoSha256 = "1pii5ajl3xgylrm20pkwbd1lk7gv0pshl1cxjfna0l63q56v7f21";
 
+  buildInputs = lib.optional stdenv.isDarwin CoreServices;
+
   meta = with lib; {
     description = "Background rust code checker";
     homepage = "https://github.com/Canop/bacon";