Skip to content

Commit

Permalink
rquickshare: fix opening
Browse files Browse the repository at this point in the history
This fixes #350315 by applying upstream instructions and downloading the legacy package instead.

The app should open now.
  • Loading branch information
yajo committed Dec 23, 2024
1 parent f674839 commit 854f011
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/by-name/rq/rquickshare/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ let
pname = "rquickshare";
version = "0.11.2";
src = fetchurl {
url = "https://github.com/Martichou/rquickshare/releases/download/v${version}/r-quick-share-main_v${version}_glibc-2.39_amd64.AppImage";
hash = "sha256-7w1zybCPRg4RK5bKHoHLDUDXVDQL23ox/6wh8H9vTPg=";
url = "https://github.com/Martichou/rquickshare/releases/download/v${version}/r-quick-share-legacy_v${version}_glibc-2.31_amd64.AppImage";
hash = "sha256-VXYiYrTSedH8xFjuxbdplzVdfnO6s3ftY2I121Unlfw=";
};
appimageContents = appimageTools.extractType2 { inherit pname version src; };
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
install -Dm444 ${appimageContents}/rquickshare.desktop -t $out/share/applications
substituteInPlace $out/share/applications/rquickshare.desktop \
--replace-fail 'Exec=rquickshare' 'Exec=rquickshare %u'
install -Dm444 ${appimageContents}/r-quick-share.desktop -t $out/share/applications
substituteInPlace $out/share/applications/r-quick-share.desktop \
--replace-fail 'Exec=r-quick-share' 'Exec=r-quick-share %u'
cp -r ${appimageContents}/usr/share/icons $out/share
'';

Expand Down

0 comments on commit 854f011

Please sign in to comment.