-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add nix flake #27
Add nix flake #27
Conversation
94d3412
to
da668f7
Compare
da668f7
to
2f97978
Compare
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.
The formatting on the flake file needs to be cleaned up a bit.
Co-authored-by: Shane Frasier <[email protected]>
e98fcca
to
63e41d7
Compare
Co-authored-by: Shane Frasier <[email protected]> Remove whitespace Co-authored-by: Shane Frasier <[email protected]> Sort pakages alphabetically Co-authored-by: Shane Frasier <[email protected]> Add pre-commit file changes
63e41d7
to
49f99eb
Compare
@jasonodoom Please complete the "Testing" section of the PR description and explain how you tested these changes and verified that they do not negatively impact existing functionality. |
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.
Please take a look at my suggestions, comments, and question.
FYI, I saw that you removed the pre- and post-merge checklists from the PR template. I added them back in, since this change is worthy of a minor version bump. Please make sure that you take care of that. |
9e08c07
to
9c1dd21
Compare
Co-authored-by: dav3r <[email protected]>
@dav3r Is it though? This PR does not touch the Python code so I'm not sure it should require any version modifications. We do not increment for pre-commit changes for example. |
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.
Given that @jasonodoom is the only one currently invested in the Nix ecosystem I think the CODEOWNERS should be updated such that the Nix paths require review from him.
Gah, you are correct! I was thinking of this as a new feature, but it's just a new installation mechanism. I went ahead and removed those checklists. |
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.
One more tiny change request.
Co-authored-by: dav3r <[email protected]>
Co-authored-by: dav3r <[email protected]>
Co-authored-by: Shane Frasier <[email protected]>
Co-authored-by: Shane Frasier <[email protected]>
The pre-commit linter has not yet been added in this branch, but it will eventually be added when cisagov/skeleton-generic#143 trickles down via Lineage.
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.
Solid work @jasonodoom! 🚀
I hate to bring this up so late, but I just noticed that Nix flakes files are experimental. I'm still OK with this PR going forward, but I figured folks should know. |
Co-authored-by: Nick <[email protected]>
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 ✔
🗣 Description
This PR adds
flake.nix
to allow for the use ofawssh
without the following:setup-env
script to installawssh
This does not require or use
poetry
💭 Motivation and context
The motivation and purpose of this is to provide access to our tools quickly. Considering the recent re-provisioning of my machine I find it convenient to simply run.
nix build
so I can executeawssh
without having to configure virtualenvs or making other system changes. This is just the beginning.🧪 Testing
The binary was executed and I was able to successfully start a session as well as execute different
awssh
options. I've included a screenshot.✅ Pre-approval checklist