bacon: fix darwin build
This commit is contained in:
parent
090f0937fb
commit
b40b6620a0
|
@ -1,4 +1,4 @@
|
||||||
{ lib, rustPlatform, fetchFromGitHub }:
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "bacon";
|
pname = "bacon";
|
||||||
|
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
cargoSha256 = "1pii5ajl3xgylrm20pkwbd1lk7gv0pshl1cxjfna0l63q56v7f21";
|
cargoSha256 = "1pii5ajl3xgylrm20pkwbd1lk7gv0pshl1cxjfna0l63q56v7f21";
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin CoreServices;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Background rust code checker";
|
description = "Background rust code checker";
|
||||||
homepage = "https://github.com/Canop/bacon";
|
homepage = "https://github.com/Canop/bacon";
|
||||||
|
|
|
@ -3238,7 +3238,9 @@ in
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit;
|
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 { };
|
bareos = callPackage ../tools/backup/bareos { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue