Merge pull request #50219 from worldofpeace/wire-desktop/no-explicit-phases

wire-desktop: don't explicitly set phases
This commit is contained in:
Jörg Thalheim 2018-11-11 11:06:28 +00:00 committed by GitHub
commit 8905ca4d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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; {