mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
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.
(cherry picked from commit 0ac48ac932)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user