diff options
author | Bobby Rong <rjl931189261@126.com> | 2022-08-19 18:09:20 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2022-08-19 19:01:01 +0800 |
commit | 3de049f71d83be9c22d360408dc266d8da0c4893 (patch) | |
tree | ac6169d66c78cf3c806a965bc707c9c1a1b4047c /pkgs/desktops | |
parent | 762b003329510ea855b4097a37511eb19c7077f0 (diff) |
cinnamon.cinnamon-common: ensure caribou is in XDG_DATA_DIRS
Some of its layout files are required for constructing a keyboard model.
Closes #101881
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/cinnamon/cinnamon-common/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/desktops/cinnamon/cinnamon-common/default.nix b/pkgs/desktops/cinnamon/cinnamon-common/default.nix index efe46904ff96..f00731995859 100644 --- a/pkgs/desktops/cinnamon/cinnamon-common/default.nix +++ b/pkgs/desktops/cinnamon/cinnamon-common/default.nix @@ -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" ]; }; |