mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
cinnamon: fixup gschemas
This commit is contained in:
parent
43dc48845b
commit
2b8002e44b
@ -22,10 +22,6 @@ stdenv.mkDerivation {
|
||||
xkeyboard_config libxkbfile libX11 libXrandr libXext
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
${glib}/bin/glib-compile-schemas $out/share/glib-2.0/schemas/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://cinnamon.linuxmint.com";
|
||||
description = "Library and data for various Cinnamon modules";
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
|
||||
configureFlags = "--disable-schemas-compile --enable-systemd --disable-gconf" ;
|
||||
configureFlags = "--enable-systemd --disable-gconf" ;
|
||||
|
||||
patches = [ ./remove-sessionmigration.patch ./timeout.patch];
|
||||
|
||||
@ -23,17 +23,17 @@ stdenv.mkDerivation {
|
||||
gtk3 dbus_glib upower json_glib
|
||||
intltool systemd xorg.xtrans
|
||||
makeWrapper
|
||||
cinnamon-desktop/*gschemas*/
|
||||
];
|
||||
|
||||
preBuild = "patchShebangs ./scripts";
|
||||
|
||||
|
||||
postInstall = ''
|
||||
${glib}/bin/glib-compile-schemas $out/share/glib-2.0/schemas/
|
||||
postFixup = ''
|
||||
rm $out/share/icons/hicolor/icon-theme.cache
|
||||
|
||||
for f in "$out"/bin/*; do
|
||||
wrapProgram "$f" --prefix XDG_DATA_DIRS : "$out/share:${cinnamon-desktop}/share"
|
||||
wrapProgram "$f" --prefix XDG_DATA_DIRS : "$out/share/gsettings-schemas:$GSETTINGS_SCHEMAS_PATH"
|
||||
done
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user