New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/shadowsocks: add test without plugin #97478
Conversation
@@ -129,7 +147,7 @@ in | |||
description = "shadowsocks-libev Daemon"; | |||
after = [ "network.target" ]; | |||
wantedBy = [ "multi-user.target" ]; | |||
path = [ pkgs.shadowsocks-libev cfg.plugin ] ++ optional (cfg.passwordFile != null) pkgs.jq; | |||
path = [ pkgs.shadowsocks-libev ] ++ optional (cfg.plugin != null) cfg.plugin ++ optional (cfg.passwordFile != null) pkgs.jq; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should fix #96127 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Result of |
@ofborg test shadowsocks.shadowsocks shadowsocks.shadowsocks-v2ray-plugin |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
@ofborg test shadowsocks.basic shadowsocks.v2ray-plugin |
@bennofs I see you backported it to 20.09 as well already. Thank you very much! |
Motivation for this change
Fixes #96127 (comment)
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)