mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 15:23:26 +03: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
@ -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; {
|
||||||
|
Loading…
Reference in New Issue
Block a user