diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2013-07-28 22:38:32 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2013-08-04 19:16:41 +0200 |
commit | cd531d70f6151d1c582ef8f62559c6dd712d1051 (patch) | |
tree | 9706975084b5d45df2eb8dff57cd3cb2d26d284e /pkgs/applications/display-managers/lightdm/default.nix | |
parent | d5cad473f95d448fc76d73a8f107d42964361dc2 (diff) | |
download | nixlib-cd531d70f6151d1c582ef8f62559c6dd712d1051.tar nixlib-cd531d70f6151d1c582ef8f62559c6dd712d1051.tar.gz nixlib-cd531d70f6151d1c582ef8f62559c6dd712d1051.tar.bz2 nixlib-cd531d70f6151d1c582ef8f62559c6dd712d1051.tar.lz nixlib-cd531d70f6151d1c582ef8f62559c6dd712d1051.tar.xz nixlib-cd531d70f6151d1c582ef8f62559c6dd712d1051.tar.zst nixlib-cd531d70f6151d1c582ef8f62559c6dd712d1051.zip |
lightdm updates (merge #574)
Also fixes the situation where some session stuff is written to nix store.
Diffstat (limited to 'pkgs/applications/display-managers/lightdm/default.nix')
-rw-r--r-- | pkgs/applications/display-managers/lightdm/default.nix | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/pkgs/applications/display-managers/lightdm/default.nix b/pkgs/applications/display-managers/lightdm/default.nix index ce1f4400b271..598c42199bec 100644 --- a/pkgs/applications/display-managers/lightdm/default.nix +++ b/pkgs/applications/display-managers/lightdm/default.nix @@ -1,25 +1,31 @@ -{ stdenv, fetchurl, pam, pkgconfig, libxcb, glib, libXdmcp, itstool, libxml2, intltool, x11, libxklavier, libgcrypt, makeWrapper }: +{ stdenv, fetchurl, pam, pkgconfig, libxcb, glib, libXdmcp, itstool, libxml2 +, intltool, x11, libxklavier, libgcrypt, dbus/*for tests*/ }: -stdenv.mkDerivation { - name = "lightdm-1.5.1"; +let + ver_branch = "1.8"; + version = "1.7.0"; +in +stdenv.mkDerivation rec { + name = "lightdm-${version}"; src = fetchurl { - url = https://launchpad.net/lightdm/1.6/1.5.1/+download/lightdm-1.5.1.tar.xz; - sha256 = "645db2d763cc514d6aecb1838f4a9c33c3dcf0c94567a7ef36c6b23d8aa56c86"; + url = "${meta.homepage}/${ver_branch}/${version}/+download/${name}.tar.xz"; + sha256 = "0nwwjgc9xvwili6714ag88wsrf0lr5hv1i6z9f0xvin4ym18cbs5"; }; - buildInputs = [ pkgconfig pam libxcb glib libXdmcp itstool libxml2 intltool libxklavier libgcrypt makeWrapper ]; + patches = [ ./lightdm.patch ]; + patchFlags = "-p0"; - configureFlags = [ "--enable-liblightdm-gobject" ]; + buildInputs = [ + pkgconfig pam libxcb glib libXdmcp itstool libxml2 intltool libxklavier libgcrypt + ] ++ stdenv.lib.optional doCheck dbus.daemon; - patches = - [ ./lightdm.patch - ]; + configureFlags = [ "--enable-liblightdm-gobject" "--localstatedir=/var" ]; - patchFlags = "-p0"; + doCheck = false; # some tests fail, don't know why meta = { homepage = http://launchpad.net/lightdm; platforms = stdenv.lib.platforms.linux; }; -} \ No newline at end of file +} |