wire-desktop: don't explicitly set phases

part of #28910
This commit is contained in:
worldofpeace 2018-11-10 22:01:44 -05:00
parent 179b8146e6
commit 48a3ea0f81

View File

@ -72,7 +72,10 @@ in
categories = "Network;InstantMessaging;Chat;VideoConference"; categories = "Network;InstantMessaging;Chat;VideoConference";
}; };
phases = [ "unpackPhase" "installPhase" ]; dontBuild = true;
dontPatchELF = true;
dontConfigure = true;
nativeBuildInputs = [ dpkg ]; nativeBuildInputs = [ dpkg ];
unpackPhase = "dpkg-deb -x $src ."; unpackPhase = "dpkg-deb -x $src .";
installPhase = '' installPhase = ''
@ -93,7 +96,7 @@ in
# Desktop file # Desktop file
mkdir -p "$out/share/applications" mkdir -p "$out/share/applications"
cp ${desktopItem}/share/applications/* "$out/share/applications" cp "${desktopItem}/share/applications/"* "$out/share/applications"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {