dmlive: add configd framework on Darwin
This commit is contained in:
parent
c1a17238bc
commit
b45b9106f0
2 changed files with 4 additions and 1 deletions
|
@ -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 ]}"
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue