From bfb7a581c85a74bffca2f459e698a07fa8a3c987 Mon Sep 17 00:00:00 2001 From: iopq Date: Sun, 9 Apr 2023 16:19:45 +0800 Subject: [PATCH] xray: fix GUI compatibility While the package itself will look for assets in both folders, ./xray and ./v2ray the GUIs don't always support this, so since we use the v2ray-assets we should also set the V2RAY_LOCATION_ASSET variable to hint them to look at the ./v2ray folder --- pkgs/tools/networking/xray/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/xray/default.nix b/pkgs/tools/networking/xray/default.nix index 621de22e4c00..7b6282907dcc 100644 --- a/pkgs/tools/networking/xray/default.nix +++ b/pkgs/tools/networking/xray/default.nix @@ -51,7 +51,7 @@ buildGoModule rec { postFixup = '' wrapProgram $out/bin/xray \ - --suffix XRAY_LOCATION_ASSET : $assetsDrv/share/v2ray + --suffix V2RAY_LOCATION_ASSET : $assetsDrv/share/v2ray ''; passthru = {