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"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b6dae0679f8b..39f0ca4478e4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3238,7 +3238,9 @@ in inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit; }; - bacon = callPackage ../development/tools/bacon { }; + bacon = callPackage ../development/tools/bacon { + inherit (darwin.apple_sdk.frameworks) CoreServices; + }; bareos = callPackage ../tools/backup/bareos { };