Merge pull request #148457 from AdsonCicilioti/x11-gestures-fix-touchegg
gnomeExtensions.x11-gestures: can't find Touchegg
This commit is contained in:
commit
f2bda69e08
|
@ -2,6 +2,7 @@
|
|||
, ddcutil
|
||||
, gjs
|
||||
, xprop
|
||||
, touchegg
|
||||
}:
|
||||
let
|
||||
# Helper method to reduce redundancy
|
||||
|
@ -47,4 +48,13 @@ super: lib.trivial.pipe super [
|
|||
|
||||
meta.maintainers = with lib.maintainers; [ rhoriguchi ];
|
||||
}))
|
||||
|
||||
(patchExtension "x11gestures@joseexposito.github.io" (old: {
|
||||
# Extension can't find Touchegg
|
||||
# https://github.com/NixOS/nixpkgs/issues/137621
|
||||
postPatch = ''
|
||||
substituteInPlace "src/touchegg/ToucheggConfig.js" \
|
||||
--replace "GLib.build_filenamev([GLib.DIR_SEPARATOR_S, 'usr', 'share', 'touchegg', 'touchegg.conf'])" "'${touchegg}/share/touchegg/touchegg.conf'"
|
||||
'';
|
||||
}))
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue