cinnamon.cinnamon-screensaver: Fix crash with virtual keyboard
Caribou.KeyboardModel is also used here, so we apply the same fix for cinnamon-common to get rid of a crash.
This commit is contained in:
parent
d5510e9e9e
commit
0ac48ac932
1 changed files with 7 additions and 0 deletions
|
@ -93,6 +93,13 @@ stdenv.mkDerivation rec {
|
|||
sed "s|/usr/share/locale|/run/current-system/sw/share/locale|g" -i ./src/cinnamon-screensaver-main.py
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
# https://github.com/NixOS/nixpkgs/issues/101881
|
||||
gappsWrapperArgs+=(
|
||||
--prefix XDG_DATA_DIRS : "${gnome.caribou}/share"
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/linuxmint/cinnamon-screensaver";
|
||||
description = "The Cinnamon screen locker and screensaver program";
|
||||
|
|
Loading…
Reference in a new issue