Merge pull request #172667 from linsui/dotter

dotter: fix for darwin
This commit is contained in:
Sandro 2022-05-12 15:07:18 +02:00 committed by GitHub
commit 8fbe14f625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 { rustPlatform.buildRustPackage rec {
pname = "dotter"; pname = "dotter";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-JpMEC2HjAQLQiXHSE6L0HBDc0vLhd465wDK2+35aBXA="; cargoHash = "sha256-JpMEC2HjAQLQiXHSE6L0HBDc0vLhd465wDK2+35aBXA=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
checkInputs = [ which ]; checkInputs = [ which ];
meta = with lib; { meta = with lib; {

View File

@ -2143,7 +2143,9 @@ with pkgs;
doona = callPackage ../tools/security/doona { }; 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 { }; droidcam = callPackage ../applications/video/droidcam { };