File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
pkgs/by-name/rq/rquickshare Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -97,17 +97,16 @@ rustPlatform.buildRustPackage rec {
9797 libsoup_2_4
9898 ] ;
9999
100- passthru . updateScript =
101- let
100+ passthru =
101+ # Don't set an update script for the legacy version
102+ # so r-ryantm won't create two duplicate PRs
103+ lib . optionalAttrs ( app-type == "main" ) {
102104 updateScript = writeShellScript "update-rquickshare.sh" ''
103105 ${ lib . getExe nix-update } rquickshare
104106 sed -i 's/version = "0.0.0";/' pkgs/by-name/rq/rquickshare/package.nix
105107 ${ lib . getExe nix-update } rquickshare-legacy
106108 '' ;
107- in
108- # Don't set an update script for the legacy version
109- # so r-ryantm won't create two duplicate PRs
110- app-type-either updateScript null ;
109+ } ;
111110
112111 meta = {
113112 description = "Rust implementation of NearbyShare/QuickShare from Android for Linux and macOS" ;
You can’t perform that action at this time.
0 commit comments