-
-
Notifications
You must be signed in to change notification settings - Fork 221
refactor: DRY extensions NixOS test #1906
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
base: update-nixpkgs
Are you sure you want to change the base?
Conversation
|
there are three instances of |
|
thanks for explaining; makes sense! will review after conflicts are fixed. |
625cec1 to
a4264ec
Compare
hunleyd
left a 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.
looks sane to me
a4264ec to
4800989
Compare
Extract common NixOS test node configuration into common.nix to eliminate duplication across extension tests. Tests with custom requirements use lib.mkMerge to override defaults. This helps us to see at a glance why a test deviates from the standard setup.
Move `postgresqlWithExtension` and `versions` to the test lib to reduce code duplication across extension tests.
4800989 to
89485d9
Compare
Extract common NixOS test node configuration and functions into lib.nix to eliminate duplication across extension tests.