v2raya: 2.0.5 -> 2.2.4

https://github.com/v2rayA/v2rayA/compare/v2.0.5...v2.2.4

This fixes startup issue with go 1.21, see upstream issue 1017.

Co-authored-by: Bobby Rong <rjl931189261@126.com>

authored by Elliot Bobby Rong and committed by Bobby Rong dfcfab99 6cebc9e8

+11 -5
+8 -5
pkgs/tools/networking/v2raya/default.nix
··· 11 11 }: 12 12 let 13 13 pname = "v2raya"; 14 - version = "2.0.5"; 14 + version = "2.2.4"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "v2rayA"; 18 18 repo = "v2rayA"; 19 19 rev = "v${version}"; 20 - hash = "sha256-oMH4FutgI5mLz2sxDdPFUyDd80xT32r51HEQYhhnvcU="; 20 + hash = "sha256-X2fCp9uVdt7fIW1C/tdRK1Tmr8mq6VBk6UBnt99E+1c="; 21 21 postFetch = "sed -i -e 's/npmmirror/yarnpkg/g' $out/gui/yarn.lock"; 22 22 }; 23 23 guiSrc = "${src}/gui"; ··· 30 30 31 31 offlineCache = fetchYarnDeps { 32 32 yarnLock = "${guiSrc}/yarn.lock"; 33 - sha256 = "sha256-hVtETKhG9kX/4a4uO/aQ9sN2eTF6aAYaKDSHJIa0eWQ="; 33 + sha256 = "sha256-pB0B5Iy6dLfU5CL2E9OBQGJKLJqYQRwPxx9aaCDg1Qk="; 34 34 }; 35 35 36 36 buildPhase = '' 37 - export NODE_OPTIONS=--openssl-legacy-provider 37 + runHook preBuild 38 38 OUTPUT_DIR=$out yarn --offline build 39 + runHook postBuild 39 40 ''; 40 41 41 42 configurePhase = '' 43 + runHook preConfigure 42 44 cp -r $node_modules node_modules 43 45 chmod +w node_modules 46 + runHook postConfigure 44 47 ''; 45 48 46 49 distPhase = "true"; ··· 59 62 inherit pname version; 60 63 61 64 src = "${src}/service"; 62 - vendorHash = "sha256-nI+nqftJybAGcHCTMVjYPuLHxqE/kyjUzkspnkzUi+g="; 65 + vendorHash = "sha256-lK6oTI9o8oLXPPMFO/Q97tIsdRd9smUk1v7GwwCFitg="; 63 66 64 67 ldflags = [ 65 68 "-s"
+3
pkgs/tools/networking/v2raya/package.json
··· 8 8 "build": "vue-cli-service build", 9 9 "lint": "vue-cli-service lint" 10 10 }, 11 + "resolutions": { 12 + "@achrinza/node-ipc": "^10.1.9" 13 + }, 11 14 "dependencies": { 12 15 "@mdi/font": "^5.8.55", 13 16 "@nuintun/qrcode": "^3.3.0",