gui-for-singbox: 1.21.0 -> 1.23.2#515082
Conversation
42dc266 to
c8a7b3f
Compare
|
Welcome to nixpkgs! Please also add mine changes from #514083, specifically fetcherVersion 2 -> 3 migration |
Added it! |
|
qweered
left a comment
There was a problem hiding this comment.
Approved automatically following the successful run of nixpkgs-review.
There was a problem hiding this comment.
Thanks, tested the binary, looks good.
Just running the application without the added patch and dependencies seem to work when clicking around (no issues in the GUI, no extra logs), I haven't got to a webview or ran into issues with the path, so I can't confirm if those patches are good, but I believe you that they are needed.
ZHF: #516381
yayayayaka
left a comment
There was a problem hiding this comment.
Thanks for taking over maintainership!
Upstream changelog: https://github.com/GUI-for-Cores/GUI.for.SingBox/releases/tag/v1.23.2
Also carries two patches on top of the upstream source:
xdg-path-and-restart-patch.patch— routes user config / kernelworking dir under
$XDG_CONFIG_HOME/GUI.for.SingBox/on Linuxinstead of
$out(which is read-only), and makes RestartApp useos.Executable()so the wrapped nix-store path is respected.frontend-runtime-path.patch— threads the XDG config path throughto the frontend so the sing-box working directory and PID file
resolve to a writable location at runtime.
wrapGAppsHook3andglib-networkingto make sure the gtkwebkit handle network request correctly and fix the abnormal webview display due to missing gtk schema settingsI have tested it on my
NixOS 26.05 (Yarara) x86_64and it works perfectly.Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.