Merge pull request #32384 from rycee/lightdm/fix-rm-userdir
lightdm: fix removal of unused user data directories
This commit is contained in:
commit
578575b13d
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pam, pkgconfig, libxcb, glib, libXdmcp, itstool, libxml2
|
{ stdenv, fetchurl, pam, pkgconfig, libxcb, glib, libXdmcp, itstool, libxml2
|
||||||
, intltool, xlibsWrapper, libxklavier, libgcrypt, libaudit
|
, intltool, xlibsWrapper, libxklavier, libgcrypt, libaudit, coreutils
|
||||||
, qt4 ? null
|
, qt4 ? null
|
||||||
, withQt5 ? false, qtbase
|
, withQt5 ? false, qtbase
|
||||||
}:
|
}:
|
||||||
@ -36,6 +36,11 @@ stdenv.mkDerivation rec {
|
|||||||
"localstatedir=\${TMPDIR}"
|
"localstatedir=\${TMPDIR}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
substituteInPlace src/shared-data-manager.c \
|
||||||
|
--replace /bin/rm ${coreutils}/bin/rm
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://launchpad.net/lightdm;
|
homepage = https://launchpad.net/lightdm;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user