mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
cinnamon.cinnamon-common: use cinnamon-translations
Also remove unused configureFlags
This commit is contained in:
parent
eca2b05354
commit
425ac82c14
@ -6,6 +6,7 @@
|
|||||||
, cinnamon-desktop
|
, cinnamon-desktop
|
||||||
, cinnamon-menus
|
, cinnamon-menus
|
||||||
, cinnamon-session
|
, cinnamon-session
|
||||||
|
, cinnamon-translations
|
||||||
, cjs
|
, cjs
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, gdk-pixbuf
|
, gdk-pixbuf
|
||||||
@ -115,7 +116,10 @@ stdenv.mkDerivation rec {
|
|||||||
gtk-doc
|
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 = ''
|
postPatch = ''
|
||||||
find . -type f -exec sed -i \
|
find . -type f -exec sed -i \
|
||||||
|
Loading…
Reference in New Issue
Block a user