dotter: fix for darwin

This commit is contained in:
linsui 2022-05-12 15:28:06 +08:00
parent 82440c9374
commit 10c13ff5d1
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, rustPlatform, which }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices, which }:
rustPlatform.buildRustPackage rec {
pname = "dotter";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-JpMEC2HjAQLQiXHSE6L0HBDc0vLhd465wDK2+35aBXA=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
checkInputs = [ which ];
meta = with lib; {

View File

@ -2143,7 +2143,9 @@ with pkgs;
doona = callPackage ../tools/security/doona { };
dotter = callPackage ../tools/misc/dotter { };
dotter = callPackage ../tools/misc/dotter {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
droidcam = callPackage ../applications/video/droidcam { };