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
This commit is contained in:
iopq 2023-04-12 21:52:17 +08:00 committed by GitHub
parent db81ed584f
commit 6490bbcc0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = {