mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #50219 from worldofpeace/wire-desktop/no-explicit-phases
wire-desktop: don't explicitly set phases
This commit is contained in:
commit
8905ca4d71
1 changed files with 5 additions and 2 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue