diff options
author | William A. Kennington III <william@wkennington.com> | 2015-04-04 22:20:28 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-04-04 22:20:28 -0700 |
commit | 70efcd0389aa3bbdd2ffa2753d500ca00c057ce4 (patch) | |
tree | b96cf4c8ae6df50e70eef5dd3b0020b9fc00d3de /pkgs/applications/display-managers/lightdm | |
parent | 7193e07cba7a272941a44440afddf4833a735e89 (diff) |
lightdm: Remove install hack
Diffstat (limited to 'pkgs/applications/display-managers/lightdm')
-rw-r--r-- | pkgs/applications/display-managers/lightdm/default.nix | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/pkgs/applications/display-managers/lightdm/default.nix b/pkgs/applications/display-managers/lightdm/default.nix index ac4d4d83c7b8..79163945c0ce 100644 --- a/pkgs/applications/display-managers/lightdm/default.nix +++ b/pkgs/applications/display-managers/lightdm/default.nix @@ -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; |