diff options
author | Roelof Wobben <rwobben@hotmail.com> | 2013-12-08 21:40:52 +0100 |
---|---|---|
committer | Roelof Wobben <rwobben@hotmail.com> | 2013-12-08 21:40:52 +0100 |
commit | 23bacdf6ea2d30b484c71bb784f59153c346c079 (patch) | |
tree | 8581288f31a082757da137f9081360b5960b866f /pkgs/desktops/cinnamon | |
parent | 11b337fc7638081776f23a77c2639c61b7d07a73 (diff) |
added cinnamon-session.nix
Diffstat (limited to 'pkgs/desktops/cinnamon')
-rw-r--r-- | pkgs/desktops/cinnamon/cinnamon-session.nix | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/pkgs/desktops/cinnamon/cinnamon-session.nix b/pkgs/desktops/cinnamon/cinnamon-session.nix index 3411633a289e..30b78ba143ad 100644 --- a/pkgs/desktops/cinnamon/cinnamon-session.nix +++ b/pkgs/desktops/cinnamon/cinnamon-session.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, pkgconfig, autoreconfHook, glib, gettext, gnome_common, gtk3, dbus_glib, -upower, json_glib,intltool, systemd, hicolor_icon_theme, makeWrapper}: +upower, json_glib,intltool, systemd, hicolor_icon_theme, cinnamon-session}: let version = "2.0.6"; @@ -21,19 +21,17 @@ stdenv.mkDerivation { pkgconfig autoreconfHook glib gettext gnome_common gtk3 dbus_glib upower json_glib - intltool systemd makeWrapper + intltool systemd ]; preBuild = "patchShebangs ./scripts"; - installPhase = '' - wrapProgram $out/bin/cinnamon-session \ - --prefix XDG_DATA_DIRS ":" "${hicolor_icon_theme}/share" - ''; - - postInstall = '' - rm $out/share/icons/hicolor/icon-theme.cache - ''; + + postInstall = '' + ${glib}/bin/glib-compile-schemas $out/share/glib-2.0/schemas/ + rm $out/share/icons/hicolor/icon-theme.cache + ''; + meta = { homepage = "http://cinnamon.linuxmint.com"; description = "the cinnamon session files " ; |