diff --git a/pkgs/tools/networking/xray/default.nix b/pkgs/tools/networking/xray/default.nix index ace13816b3a2..d40754cd7911 100644 --- a/pkgs/tools/networking/xray/default.nix +++ b/pkgs/tools/networking/xray/default.nix @@ -1,9 +1,7 @@ { lib , fetchFromGitHub -, fetchurl , symlinkJoin , buildGoModule -, runCommand , makeWrapper , nix-update-script , v2ray-geoip @@ -11,25 +9,18 @@ , assets ? [ v2ray-geoip v2ray-domain-list-community ] }: -let - assetsDrv = symlinkJoin { - name = "v2ray-assets"; - paths = assets; - }; - -in buildGoModule rec { pname = "xray"; - version = "1.8.1"; + version = "1.8.3"; src = fetchFromGitHub { owner = "XTLS"; repo = "Xray-core"; rev = "v${version}"; - sha256 = "sha256-yvfBrMQPvIzuLT9wAvQ9QdAIfjzFt7B+L4N8q9SwufA="; + hash = "sha256-j7lIRGO+hUYAM/FWCb8cNoh6lXXE0ZboWA/Hmi9w/Bc="; }; - vendorSha256 = "sha256-mr07woy6QXRz8iM4Yzl1Wv5+jlG7ws/fDAnuHjNiUPc="; + vendorHash = "sha256-sBbidDvsYvFg3EqsA59MYZULim/LbrZcInixiKfwqqQ="; nativeBuildInputs = [ makeWrapper ];