opentrack: provide v4l-utils on PATH

Used to open webcam camera settings:
https://github.com/opentrack/opentrack/blob/2d3ab7a61d2514ce51c9656908d33465a788763e/video-opencv/video-property-page.cpp#L150-L160
This commit is contained in:
winston
2026-02-11 02:43:29 +01:00
parent 0e94b069ee
commit 2c2cb1f49d
+3 -1
View File
@@ -18,6 +18,7 @@
wineWow64Packages,
onnxruntime,
nix-update-script,
v4l-utils,
withWine ? stdenv.targetPlatform.isx86_64,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -90,7 +91,8 @@ stdenv.mkDerivation (finalAttrs: {
# manually wrap just the main binary
dontWrapQtApps = true;
preFixup = ''
wrapQtApp $out/bin/opentrack
wrapQtApp $out/bin/opentrack \
--prefix PATH : ${lib.makeBinPath [ v4l-utils ]}
'';
desktopItems = [