From 854f0111d37e93dd870035c5512d3d2fbaee6e5e Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Mon, 23 Dec 2024 10:33:28 +0000 Subject: [PATCH] rquickshare: fix opening This fixes https://github.com/NixOS/nixpkgs/issues/350315 by applying upstream instructions and downloading the legacy package instead. The app should open now. --- pkgs/by-name/rq/rquickshare/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/rq/rquickshare/package.nix b/pkgs/by-name/rq/rquickshare/package.nix index ae38de23828a..2e40ec4a4494 100644 --- a/pkgs/by-name/rq/rquickshare/package.nix +++ b/pkgs/by-name/rq/rquickshare/package.nix @@ -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 '';