diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-12-09 16:22:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-09 16:22:22 +0000 |
commit | 578575b13d488fce956d4c212419d68e2ba016c7 (patch) | |
tree | d8b65a6ce9c2a36243eee8654dda3ecaee6ce627 /pkgs/applications | |
parent | 82235b388c5a94e5488771f7af13da6d8a50aa42 (diff) | |
parent | 43c48a3c12cfcabeee2486e7090fb4578a8b2cee (diff) |
Merge pull request #32384 from rycee/lightdm/fix-rm-userdir
lightdm: fix removal of unused user data directories
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/display-managers/lightdm/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/display-managers/lightdm/default.nix b/pkgs/applications/display-managers/lightdm/default.nix index e82d4c69def6..6765c5f9dfd0 100644 --- a/pkgs/applications/display-managers/lightdm/default.nix +++ b/pkgs/applications/display-managers/lightdm/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, pam, pkgconfig, libxcb, glib, libXdmcp, itstool, libxml2 -, intltool, xlibsWrapper, libxklavier, libgcrypt, libaudit +, intltool, xlibsWrapper, libxklavier, libgcrypt, libaudit, coreutils , qt4 ? null , withQt5 ? false, qtbase }: @@ -36,6 +36,11 @@ stdenv.mkDerivation rec { "localstatedir=\${TMPDIR}" ]; + prePatch = '' + substituteInPlace src/shared-data-manager.c \ + --replace /bin/rm ${coreutils}/bin/rm + ''; + meta = { homepage = https://launchpad.net/lightdm; platforms = platforms.linux; |