mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
gnomeExtensions.x11-gestures: can't find Touchegg
This commit is contained in:
parent
3e892167eb
commit
05e82bfdc2
@ -2,6 +2,7 @@
|
||||
, ddcutil
|
||||
, gjs
|
||||
, xprop
|
||||
, touchegg
|
||||
}:
|
||||
let
|
||||
# Helper method to reduce redundancy
|
||||
@ -47,4 +48,12 @@ 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 New Issue
Block a user