gnome.gnome-tweaks: patch python script in libexec

This commit is contained in:
Artturin
2021-10-02 21:19:45 +03:00
parent bc4e52b697
commit c7d875af1c
@@ -64,6 +64,16 @@ python3Packages.buildPythonApplication rec {
patchShebangs meson-postinstall.py
'';
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
postFixup = ''
wrapPythonProgramsIn "$out/libexec" "$out $pythonPath"
'';
passthru = {
updateScript = gnome.updateScript {
packageName = pname;