rambox: fix for binary dropping version suffix
fixes https://github.com/NixOS/nixpkgs/issues/307545
This commit is contained in:
parent
9516f3c963
commit
debfa14c11
1 changed files with 1 additions and 2 deletions
|
@ -17,7 +17,7 @@ let
|
|||
categories = [ "Network" ];
|
||||
});
|
||||
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
appimageContents = appimageTools.extract {
|
||||
inherit pname version src;
|
||||
};
|
||||
in
|
||||
|
@ -26,7 +26,6 @@ appimageTools.wrapType2 {
|
|||
|
||||
extraInstallCommands = ''
|
||||
mkdir -p $out/share/applications $out/share/icons/hicolor/256x256/apps
|
||||
ln -sf rambox-${version} $out/bin/${pname}
|
||||
install -Dm644 ${appimageContents}/usr/share/icons/hicolor/256x256/apps/rambox*.png $out/share/icons/hicolor/256x256/apps/${pname}.png
|
||||
install -Dm644 ${desktopItem}/share/applications/* $out/share/applications
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue