From 6490bbcc0f44742d47a4656112e678a1d949cd6f Mon Sep 17 00:00:00 2001 From: iopq Date: Wed, 12 Apr 2023 21:52:17 +0800 Subject: [PATCH] xray: fix standalone executable geoip usage I didn't test it right because my config didn't use the assets Should fix both use cases --- pkgs/tools/networking/xray/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/xray/default.nix b/pkgs/tools/networking/xray/default.nix index 7b6282907dcc..6fbc18e53d90 100644 --- a/pkgs/tools/networking/xray/default.nix +++ b/pkgs/tools/networking/xray/default.nix @@ -51,7 +51,8 @@ buildGoModule rec { postFixup = '' wrapProgram $out/bin/xray \ - --suffix V2RAY_LOCATION_ASSET : $assetsDrv/share/v2ray + --suffix V2RAY_LOCATION_ASSET : $assetsDrv/share/v2ray \ + --suffix XRAY_LOCATION_ASSET : $assetsDrv/share/v2ray ''; passthru = {