3
0
Fork 0
forked from mirrors/nixpkgs

lightdm: Remove install hack

This commit is contained in:
William A. Kennington III 2015-04-04 22:20:28 -07:00
parent 7193e07cba
commit 70efcd0389

View file

@ -27,16 +27,10 @@ stdenv.mkDerivation rec {
] ++ stdenv.lib.optional (qt4 != null) "--enable-liblightdm-qt"
++ stdenv.lib.optional (qt5 != null) "--enable-liblightdm-qt5";
installFlags = [ "DESTDIR=\${out}" ];
# Correct for the nested nix folder tree
postInstall = ''
mv $out/$out/* $out
DIR=$out/$out
while rmdir $DIR 2>/dev/null; do
DIR="$(dirname "$DIR")"
done
'';
installFlags = [
"sysconfdir=\${out}/etc"
"localstatedir=\${TMPDIR}"
];
meta = with stdenv.lib; {
homepage = http://launchpad.net/lightdm;