Unverified Commit ea688259 authored by Nick Cao's avatar Nick Cao
Browse files

dmlive: use new darwin sdk pattern

parent e55ec0fa
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
{ 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 ]}"
+1 −4
Original line number Diff line number Diff line
@@ -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 { };