dmlive: use new darwin sdk pattern

This commit is contained in:
Nick Cao 2024-11-06 07:56:32 -05:00
parent e55ec0fafb
commit ea68825987
No known key found for this signature in database
2 changed files with 2 additions and 9 deletions

View File

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

View File

@ -23976,10 +23976,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;
};
dmlive = callPackage ../applications/video/dmlive { };
do-agent = callPackage ../servers/monitoring/do-agent { };