dmlive: add configd framework on Darwin

This commit is contained in:
Randy Eckenrode 2024-03-23 13:58:03 -04:00
parent c1a17238bc
commit b45b9106f0
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,7 @@
, pkg-config
, makeWrapper
, openssl
, configd
, Security
, mpv
, ffmpeg
@ -27,7 +28,8 @@ rustPlatform.buildRustPackage rec {
OPENSSL_NO_VENDOR = true;
nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ configd Security ];
postInstall = ''
wrapProgram "$out/bin/dmlive" --prefix PATH : "${lib.makeBinPath [ mpv ffmpeg nodejs ]}"

View File

@ -25857,6 +25857,7 @@ with pkgs;
dmarc-metrics-exporter = callPackage ../servers/monitoring/prometheus/dmarc-metrics-exporter { };
dmlive = callPackage ../applications/video/dmlive {
inherit (darwin) configd;
inherit (darwin.apple_sdk.frameworks) Security;
};