nixos/mate: use upstream session

This commit is contained in:
worldofpeace
2020-02-18 16:30:09 -05:00
parent 1b96f9b68c
commit b9db3f8ca0
2 changed files with 28 additions and 23 deletions
@@ -33,6 +33,14 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postFixup = ''
substituteInPlace $out/share/xsessions/mate.desktop \
--replace "Exec=mate-session" "Exec=$out/bin/mate-session" \
--replace "TryExec=mate-session" "TryExec=$out/bin/mate-session"
'';
passthru.providedSessions = [ "mate" ];
meta = with stdenv.lib; {
description = "MATE Desktop session manager";
homepage = "https://github.com/mate-desktop/mate-session-manager";