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

improvement: introduce direnv .envrc and update gitignore accordingly #5223

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

Daholli
Copy link
Contributor

@Daholli Daholli commented Oct 19, 2024

☕️ Reasoning

Direnv is a really neat tool to use the existing flake.nix to automatically load the development shell once you enter the root or any of the subdirectories.

🧢 Changes

.envrc (tells direnv to use the flake to build the nix-shell-env)
.gitignore (do not commit the packages that are used to build the env)

Copy link

vercel bot commented Oct 19, 2024

@Daholli is attempting to deploy a commit to the GitButler Team on Vercel.

A member of the Team first needs to authorize it.

@Byron Byron requested a review from ndom91 October 20, 2024 06:02
Copy link
Contributor

@ndom91 ndom91 left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

Now that it's not just me, I feel more comfortable adding another dot file to the root of the repo 😂

And I can remove my .envrc from my .git/info/exclude haha

@ndom91 ndom91 merged commit 953fbee into gitbutlerapp:master Oct 22, 2024
12 of 13 checks passed
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