Unverified Commit 4baf0ed6 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

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

dmlive: add configd framework on Darwin
parents 53727265 b45b9106
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 ]}"
+1 −0
Original line number Diff line number Diff line
@@ -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;
  };