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";
};
phases = [ "unpackPhase" "installPhase" ];
dontBuild = true;
dontPatchELF = true;
dontConfigure = true;
nativeBuildInputs = [ dpkg ];
unpackPhase = "dpkg-deb -x $src .";
installPhase = ''
@ -93,7 +96,7 @@ in
# Desktop file
mkdir -p "$out/share/applications"
cp ${desktopItem}/share/applications/* "$out/share/applications"
cp "${desktopItem}/share/applications/"* "$out/share/applications"
'';
meta = with stdenv.lib; {