Skip to content

Commit

Permalink
fix(nix/package): load pipewire
Browse files Browse the repository at this point in the history
  • Loading branch information
xarvex committed Mar 8, 2025
1 parent 3ca9f9d commit 7afe414
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nix/package/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
pillow,
pillow-heif,
pillow-jxl-plugin,
pipewire,
pydub,
pyside6,
pytest-qt,
Expand All @@ -22,6 +23,7 @@
rawpy,
send2trash,
sqlalchemy,
stdenv,
structlog,
syrupy,
ujson,
Expand All @@ -45,6 +47,7 @@ buildPythonApplication {
qt6.wrapQtAppsHook
];
buildInputs = [
pipewire
qt6.qtbase
qt6.qtmultimedia
];
Expand All @@ -56,7 +59,11 @@ buildPythonApplication {
syrupy
];

makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ffmpeg-headless ]}" ];
makeWrapperArgs =
[ "--prefix PATH : ${lib.makeBinPath [ ffmpeg-headless ]}" ]
++ lib.optional stdenv.hostPlatform.isLinux "--prefix LD_LIBRARY_PATH : ${
lib.makeLibraryPath [ pipewire ]
}";

pythonRemoveDeps = true;
pythonImportsCheck = [ "tagstudio" ];
Expand Down

0 comments on commit 7afe414

Please sign in to comment.