git.iko.soy/typeable/nixpkgs
on master help sign in
bacon: fix darwin build
commitb40b6620a01e4bd33983f62238d9a6f54b90f50c authorStéphan Kochen <git@stephank.nl> dateWed 19 May 2021, 21:13 (5 years ago) parent090f093
2 files changed+6−2
pkgs/development/tools/bacon/default.nix+3−1 pkgs/top-level/all-packages.nix+3−1
pkgs/development/tools/bacon/default.nix+3−1
@@ -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";
pkgs/top-level/all-packages.nix+3−1
@@ -3238,7 +3238,9 @@ in
32383238 inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit;
32393239 };
32403240
3241− bacon = callPackage ../development/tools/bacon { };
3241+ bacon = callPackage ../development/tools/bacon {
3242+ inherit (darwin.apple_sdk.frameworks) CoreServices;
3243+ };
32423244
32433245 bareos = callPackage ../tools/backup/bareos { };
32443246