3
0
Fork 0
forked from mirrors/nixpkgs

bacon: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-19 21:13:44 +02:00 committed by Jonathan Ringer
parent 090f0937fb
commit b40b6620a0
2 changed files with 6 additions and 2 deletions

View file

@ -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";

View file

@ -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 { };