Repository navigation
Conversation
Load an ignored .envrc.local after the shared Nix environment so contributors can keep machine-specific settings without modifying tracked files. Document the Nix, direnv, and local override workflow in the development environment guide. Fixes apache#26101.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #26122 +/- ##
========================================
Coverage 82.73% 82.74%
========================================
Files 1147 1147
Lines 449459 449767 +308
Branches 449459 449767 +308
========================================
+ Hits 371864 372148 +284
- Misses 54936 54947 +11
- Partials 22659 22672 +13 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
kosiew
approved these changes
Oct 8, 2026
| `direnv allow` from the repository root to load it automatically. | ||
|
|
||
| Put machine-specific direnv settings in `.envrc.local`. This file is ignored by | ||
| Git and loaded after the shared Nix environment so that local settings take |
Contributor
There was a problem hiding this comment.
Could we add a short migration note for contributors who already have personal settings in .envrc? They should move those settings into .envrc.local rather than copying the entire shared file, which could duplicate use flake.
Contributor
Author
There was a problem hiding this comment.
Let me know how the update reads to you
Contributor
Author
|
@kosiew addressed + added |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #26101 , which was introduced in #26005. cc @kumarUjjawal @kosiew
What changes are included in this PR?
Load an ignored .envrc.local after the shared Nix environment so contributors can keep machine-specific settings without modifying tracked files.
Document the Nix, direnv, and local override workflow in the development environment guide.
Following recommendation from direnv: https://github.com/direnv/direnv/blob/e24ea74873aff78d5e371c85061dc7fafdeedd5a/README.md#quick-demo
Are there any user-facing changes?
No.