-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
chore: cleanup flake.nix #1486
base: develop
Are you sure you want to change the base?
chore: cleanup flake.nix #1486
Conversation
@@ -4,12 +4,11 @@ | |||
inputs = { | |||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; | |||
flake-utils.url = "github:numtide/flake-utils"; | |||
nix2container.url = "github:nlewo/nix2container"; |
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.
Unused dependency
flake.nix
Outdated
inherit | ||
wal-g | ||
sfcgal | ||
supabase-groonga | ||
postgresql_15 | ||
postgresql_orioledb-17; | ||
inherit (pkgs.cargo-pgrx) | ||
cargo-pgrx_0_11_3 | ||
cargo-pgrx_0_12_6 | ||
cargo-pgrx_0_12_9; |
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.
Preferring the inherit
statement is a good practice, also it avoids typos
flake.nix
Outdated
# TODO: None of these tests are used | ||
sqlTests = ./nix/tests/smoke; |
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.
I am not sure if tests are failing or what, but this should be fixed somehow
Thanks this is a helpful review! |
Everything looks good. the smoke tests are redundant and the line and files should just be removed. |
848341f
to
c85efc2
Compare
Removed the smoke tests and rebased to fix merge conflicts |
What kind of change does this PR introduce?
Minor flake.nix cleanup. My editor auto removes whitespace so I would recommend enabling "hide all whitespace" option when reviewing this PR
More information on specific changes in PR comments