fix: force calibre to run under XWayland

This commit is contained in:
Nydragon 2024-06-09 01:39:22 +09:00
parent efa4b4d824
commit 11e330e09d
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209

View file

@ -81,7 +81,6 @@
loupe
gnome.seahorse
gimp
calibre
vlc
thunderbird
keepassxc
@ -115,7 +114,15 @@
nixedit
];
in
scripts ++ pk;
scripts
++ pk
++ [
(pkgs.calibre.overrideAttrs (old: {
postInstall = ''
wrapProgram $out/bin/calibre --prefix QT_QPA_PLATFORM = "xcb"
'';
}))
];
sessionVariables = {
EDITOR = "nvim";