fix(overlays/qutebrowser): fix gsettings schema issue

This commit is contained in:
Gabriel Fontes
2024-05-06 17:52:27 -03:00
parent 82dd93f932
commit 92b337be66
+15 -4
View File
@@ -43,15 +43,26 @@ in {
};
qutebrowser = prev.qutebrowser.overrideAttrs (oldAttrs: {
# Force x11, as live-refreshing colorscheme based on portal is not working on wayland platform atm
# This is fixed by https://codereview.qt-project.org/c/qt/qtbase/+/547252
preFixup =
oldAttrs.preFixup
+ ''
+
# Force x11, as live-refreshing colorscheme based on portal is not working on wayland platform atm
# This is fixed by https://codereview.qt-project.org/c/qt/qtbase/+/547252
''
makeWrapperArgs+=(
--set QT_QPA_PLATFORM xcb
)
'';
''
+
# Fix for https://github.com/NixOS/nixpkgs/issues/168484
(let
schemaPath = package: "${package}/share/gsettings-schemas/${package.name}";
in ''
makeWrapperArgs+=(
--prefix XDG_DATA_DIRS : ${schemaPath final.gsettings-desktop-schemas}
--prefix XDG_DATA_DIRS : ${schemaPath final.gtk3}
)
'');
patches =
(oldAttrs.patches or [])
++ [