-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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/strongswan: improve testing of both swanctl and base strongswan module #370840
base: master
Are you sure you want to change the base?
Conversation
18d502c
to
1aff652
Compare
@GrahamcOfBorg test strongswan |
@ofborg test strongswan |
|
@@ -81,6 +82,8 @@ in | |||
options.services.strongswan = { | |||
enable = mkEnableOption "strongSwan"; | |||
|
|||
package = mkPackageOption pkgs "strongswan" { }; |
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.
Where is the package option used?
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.
It's not being used. The unit is referencing pkgs directly, and there is a with cfg there.
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.
It's not being used. The unit is referencing pkgs directly, and there is a with cfg there.
Then these pkgs.strongswan
should be replaced with cfg.package
.
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.
Indeed, thanks :) I just failed at git add -p
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.
it's fixed now: 25ecc0e
1aff652
to
4045bee
Compare
|
Would like to see #362302 and #370067 merged. But I would also like to improve testing before approving.
This PR:
cc @NickCao
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.