cinnamon.cinnamon-common: ensure caribou is in XDG_DATA_DIRS

Some of its layout files are required for constructing a keyboard model.

Closes #101881
This commit is contained in:
Bobby Rong 2022-08-19 18:09:20 +08:00
parent 762b003329
commit 3de049f71d

View file

@ -184,6 +184,13 @@ stdenv.mkDerivation rec {
patchShebangs src/data-to-c.pl
'';
preFixup = ''
# https://github.com/NixOS/nixpkgs/issues/101881
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "${gnome.caribou}/share"
)
'';
passthru = {
providedSessions = [ "cinnamon" "cinnamon2d" ];
};