cinnamon.cinnamon-common: use cinnamon-translations

Also remove unused configureFlags
This commit is contained in:
Maciej Krüger 2021-05-22 23:21:56 +02:00
parent eca2b05354
commit 425ac82c14
No known key found for this signature in database
GPG Key ID: 0D948CE19CF49C5F

View File

@ -6,6 +6,7 @@
, cinnamon-desktop
, cinnamon-menus
, cinnamon-session
, cinnamon-translations
, cjs
, fetchFromGitHub
, gdk-pixbuf
@ -115,7 +116,10 @@ stdenv.mkDerivation rec {
gtk-doc
];
configureFlags = [ "--disable-static" "--with-ca-certificates=${cacert}/etc/ssl/certs/ca-bundle.crt" "--with-libxml=${libxml2.dev}/include/libxml2" "--enable-gtk-doc=no" ];
# use locales from cinnamon-translations (not using --localedir because datadir is used)
postInstall = ''
ln -s ${cinnamon-translations}/share/locale $out/share/locale
'';
postPatch = ''
find . -type f -exec sed -i \