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:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user