Skip to content

Commit

Permalink
wire-desktop: don't explicitly set phases
Browse files Browse the repository at this point in the history
part of #28910

(cherry picked from commit 48a3ea0)
  • Loading branch information
worldofpeace committed Feb 23, 2019
1 parent 69f7e37 commit 41b31cd
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand All @@ -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; {
Expand Down

0 comments on commit 41b31cd

Please sign in to comment.