Merge pull request #172667 from linsui/dotter

dotter: fix for darwin
main
Sandro 2 years ago committed by GitHub
commit 8fbe14f625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pkgs/tools/misc/dotter/default.nix
  2. 4
      pkgs/top-level/all-packages.nix

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

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

Loading…
Cancel
Save