diff options
author | Nick Cao <nickcao@nichi.co> | 2024-03-24 10:29:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-24 10:29:56 -0400 |
commit | 4baf0ed6f66c2109965d036d17cf321247b99650 (patch) | |
tree | 886bc000d5ce4de0b1b6352dfdcba66b88026ed0 | |
parent | 537272650744b45d813125d56d2665367dfbc96e (diff) | |
parent | b45b9106f085e21ede7babb2733cadfeb7f056a4 (diff) |
Merge pull request #298440 from reckenrode/dmlive-darwin-fix
dmlive: add configd framework on Darwin
-rw-r--r-- | pkgs/applications/video/dmlive/default.nix | 4 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 1 |
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; }; |