gnomeExtensions.x11-gestures: can't find Touchegg

This commit is contained in:
Adson Silva Cicilioti 2021-12-03 13:20:20 -03:00 committed by Adson Cicilioti
parent 05e82bfdc2
commit d205f7e6af

View file

@ -53,7 +53,8 @@ super: lib.trivial.pipe super [
# 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'"
substituteInPlace "src/touchegg/ToucheggConfig.js" \
--replace "GLib.build_filenamev([GLib.DIR_SEPARATOR_S, 'usr', 'share', 'touchegg', 'touchegg.conf'])" "'${touchegg}/share/touchegg/touchegg.conf'"
'';
}))
]