Skip to content
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

added support for devenv #289

Merged
merged 1 commit into from
Oct 24, 2024
Merged

added support for devenv #289

merged 1 commit into from
Oct 24, 2024

Conversation

DGollings
Copy link
Contributor

made this for easy dependency management for myself, but you might be interested. This sets up an environment automatically, just type direnv allow and it'll download Python, do all the venv and pip stuff and be ready for a simple python src/extract_otp_secrets.py ./file.txt

Copy link
Owner

@scito scito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!
I've added some questions.

@@ -0,0 +1,3 @@
source_url "https://raw.githubusercontent.com/cachix/devenv/95f329d49a8a5289d31e0982652f7058a189bfca/direnvrc" "sha256-d+8cBpDfDBj41inrADaJt+bDWhOktwslgoP5YiGJ1v0="
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this source?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its simply configured that way by running devenv init

@@ -0,0 +1,14 @@
inputs:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you enhance the README.md and add the usage of devenv?
There is a section about dev environments.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

@@ -0,0 +1,14 @@
inputs:
nixpkgs:
url: github:cachix/devenv-nixpkgs/rolling
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this URL for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its simply configured that way by running devenv init

@DGollings DGollings force-pushed the master branch 2 times, most recently from 511b129 to 97d22ba Compare October 14, 2024 18:54
@DGollings
Copy link
Contributor Author

DGollings commented Oct 14, 2024 via email

@scito scito merged commit 5c5e209 into scito:master Oct 24, 2024
6 checks passed
@scito
Copy link
Owner

scito commented Oct 24, 2024

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants