@@ -1,4 +1,4 @@
1−{ lib, rustPlatform, fetchFromGitHub }:
1+{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "bacon";
@@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
1313
1414 cargoSha256 = "1pii5ajl3xgylrm20pkwbd1lk7gv0pshl1cxjfna0l63q56v7f21";
1515
16+ buildInputs = lib.optional stdenv.isDarwin CoreServices;
17+
1618 meta = with lib; {
1719 description = "Background rust code checker";
1820 homepage = "https://github.com/Canop/bacon";