lightdm: Remove install hack
This commit is contained in:
parent
7193e07cba
commit
70efcd0389
@ -27,16 +27,10 @@ stdenv.mkDerivation rec {
|
|||||||
] ++ stdenv.lib.optional (qt4 != null) "--enable-liblightdm-qt"
|
] ++ stdenv.lib.optional (qt4 != null) "--enable-liblightdm-qt"
|
||||||
++ stdenv.lib.optional (qt5 != null) "--enable-liblightdm-qt5";
|
++ stdenv.lib.optional (qt5 != null) "--enable-liblightdm-qt5";
|
||||||
|
|
||||||
installFlags = [ "DESTDIR=\${out}" ];
|
installFlags = [
|
||||||
|
"sysconfdir=\${out}/etc"
|
||||||
# Correct for the nested nix folder tree
|
"localstatedir=\${TMPDIR}"
|
||||||
postInstall = ''
|
];
|
||||||
mv $out/$out/* $out
|
|
||||||
DIR=$out/$out
|
|
||||||
while rmdir $DIR 2>/dev/null; do
|
|
||||||
DIR="$(dirname "$DIR")"
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://launchpad.net/lightdm;
|
homepage = http://launchpad.net/lightdm;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user