about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2024-03-24 10:29:56 -0400
committerGitHub <noreply@github.com>2024-03-24 10:29:56 -0400
commit4baf0ed6f66c2109965d036d17cf321247b99650 (patch)
tree886bc000d5ce4de0b1b6352dfdcba66b88026ed0
parent537272650744b45d813125d56d2665367dfbc96e (diff)
parentb45b9106f085e21ede7babb2733cadfeb7f056a4 (diff)
Merge pull request #298440 from reckenrode/dmlive-darwin-fix
dmlive: add configd framework on Darwin
-rw-r--r--pkgs/applications/video/dmlive/default.nix4
-rw-r--r--pkgs/top-level/all-packages.nix1
2 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/video/dmlive/default.nix b/pkgs/applications/video/dmlive/default.nix
index a1b41d360e45f..f36fb581a5202 100644
--- a/pkgs/applications/video/dmlive/default.nix
+++ b/pkgs/applications/video/dmlive/default.nix
@@ -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 ]}"
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 690d87da81186..07f1d487b35fb 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -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;
   };