-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Lightweight Shell #245
Lightweight Shell #245
Conversation
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.
Otherwise this looks good
flake.nix
Outdated
@@ -259,8 +243,6 @@ | |||
config.packages.stub | |||
config.packages.tool | |||
]; | |||
|
|||
TEST_SYSTEMD = pkgs.systemd; |
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.
We should keep this around, otherwise you can't run the lzbt tests from the shell anymore.
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.
Good point. cargo test
in lzbt passes now and I've also left openssl and sbctl.
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 modulo what @nikstur said.
Some of the tools are useful for us, developers, e.g. OpenSSL, sbctl overidden, etc. But it's fine I guess.
ef512d6
to
3b12925
Compare
We are getting this warning: warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest Silence by opting into the new behavior.
3b12925
to
3cb657f
Compare
@nikstur Can you check again? |
@phip1611 mentioned that our shell environment is pretty heavy and can compile for quite some time when entered. This PR drops everything from the shell environment that is not immediately useful for compile the Rust code or style checking.
While I was here, I also applied
cargo machete
suggestions.