cinnamon.cinnamon-control-center: use cinnamon-translations

This commit is contained in:
Maciej Krüger 2021-05-22 23:22:13 +02:00
parent 425ac82c14
commit eac85651a3
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F

View file

@ -28,6 +28,7 @@
, gdk-pixbuf
, meson
, ninja
, cinnamon-translations
}:
stdenv.mkDerivation rec {
@ -83,7 +84,10 @@ stdenv.mkDerivation rec {
'';
mesonFlags = [
# TODO: https://github.com/NixOS/nixpkgs/issues/36468
"-Dc_args=-I${glib.dev}/include/gio-unix-2.0"
# use locales from cinnamon-translations
"--localedir=${cinnamon-translations}/share/locale"
];
preInstall = ''