Skip to content

fix: make .envrc compatible with nix-direnv, allowing shell caching#565

Merged
fguery merged 1 commit into
mainfrom
fix/make_envrc_compatible_with_nixdirenv
Mar 12, 2026
Merged

fix: make .envrc compatible with nix-direnv, allowing shell caching#565
fguery merged 1 commit into
mainfrom
fix/make_envrc_compatible_with_nixdirenv

Conversation

@fguery

@fguery fguery commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update use flake --impure to use flake . --impure in .envrc
  • This makes the flake command compatible with nix-direnv, which requires an explicit flake reference to enable shell caching
  • Without the . argument, nix-direnv falls back to nix-shell behavior and cannot cache the dev shell

Test plan

  • Verify direnv allow works correctly with the updated .envrc
  • Confirm nix-direnv caches the shell properly

🤖 Generated with Claude Code

@fguery fguery requested a review from a team as a code owner March 12, 2026 10:13
@coderabbitai

coderabbitai Bot commented Mar 12, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@fguery has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 28 minutes and 12 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8be628f6-39ed-4916-addd-86e1ad8fa785

📥 Commits

Reviewing files that changed from the base of the PR and between 37a56c8 and 3907d12.

📒 Files selected for processing (1)
  • .envrc
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/make_envrc_compatible_with_nixdirenv

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented Mar 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 28.71%. Comparing base (37a56c8) to head (3907d12).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #565   +/-   ##
=======================================
  Coverage   28.71%   28.71%           
=======================================
  Files         175      175           
  Lines        7059     7059           
=======================================
  Hits         2027     2027           
  Misses       4913     4913           
  Partials      119      119           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fguery fguery added this pull request to the merge queue Mar 12, 2026
Merged via the queue into main with commit 52cafa8 Mar 12, 2026
7 checks passed
@fguery fguery deleted the fix/make_envrc_compatible_with_nixdirenv branch March 12, 2026 10:26
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