3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #32384 from rycee/lightdm/fix-rm-userdir

lightdm: fix removal of unused user data directories
This commit is contained in:
Jörg Thalheim 2017-12-09 16:22:22 +00:00 committed by GitHub
commit 578575b13d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;