Merge pull request #298440 from reckenrode/dmlive-darwin-fix

dmlive: add configd framework on Darwin
This commit is contained in:
Nick Cao 2024-03-24 10:29:56 -04:00 committed by GitHub
commit 4baf0ed6f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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

@ -25849,6 +25849,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;
};