opentabletdriver: fix wrapping the GUI binary with GTK stuff

Previously when removing the wrapper hook, nothing changed in the
output, it had no effect.
I'm not sure if it's required to wrap it for dotnet since it didn't
cause any issues, but since it's a GTK app let's do it anyways.
This commit is contained in:
Gutyina Gergő
2026-04-26 12:31:53 +02:00
parent dc8a048eaf
commit da9b29a321
@@ -91,6 +91,8 @@ buildDotnetModule (finalAttrs: {
--replace-fail '/usr/bin/env rm' '${lib.getExe' coreutils "rm"}'
'';
dontWrapGApps = true;
postFixup = ''
# Give a more "*nix" name to the binaries
mv $out/bin/OpenTabletDriver.Console $out/bin/otd
@@ -102,6 +104,9 @@ buildDotnetModule (finalAttrs: {
# Generate udev rules from source
mkdir -p $out/lib/udev/rules.d
./generate-rules.sh > $out/lib/udev/rules.d/70-opentabletdriver.rules
wrapProgram $out/bin/otd-gui \
"''${gappsWrapperArgs[@]}"
'';
desktopItems = [