Skip to content

Set up direnv and update flake inputs#6526

Merged
katzdave merged 1 commit intoblock:mainfrom
YusukeShimizu:chore/direnv-flake-update
Feb 17, 2026
Merged

Set up direnv and update flake inputs#6526
katzdave merged 1 commit intoblock:mainfrom
YusukeShimizu:chore/direnv-flake-update

Conversation

@YusukeShimizu
Copy link
Contributor

@YusukeShimizu YusukeShimizu commented Jan 15, 2026

Summary

Fixes the build environment by updating flake inputs to resolve the Rust 1.92 error and adding direnv support for automatic devshell activation.
It also simplifies macOS dependencies by refactoring flake.nix to use the unified apple-sdk.

Type of Change

  • Feature
  • Bug fix
  • Refactor / Code quality
  • Performance improvement
  • Documentation
  • Tests
  • Security fix
  • Build / Release
  • Other (specify below)

AI Assistance

  • This PR was created or reviewed with AI assistance

Testing

Manual testing:

  • Before: nix develop failed with error: No stable 1.92.* is available.
  • After:
  • nix develop successfully enters the environment; rustc 1.92.0 is available.
  • direnv allow successfully activates the environment automatically upon entering the directory.

(CI/Unit/Integration tests: Not run — config-only change)

Related Issues

Relates to: N/A
Discussion: N/A

Screenshots/Demos (for UX changes)

Before: N/A

After: N/A

Copilot AI review requested due to automatic review settings January 15, 2026 23:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR sets up direnv for automatic Nix development environment activation and updates the Nix flake dependencies. The changes aim to streamline the development workflow by automatically loading the Nix environment when entering the project directory.

Changes:

  • Added .envrc to enable direnv integration with the Nix flake
  • Updated .gitignore to exclude direnv cache artifacts (.direnv/)
  • Simplified macOS Apple SDK dependencies in flake.nix from individual frameworks to a single apple-sdk package
  • Updated flake.lock with newer versions of nixpkgs and rust-overlay

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
.envrc Enables direnv to automatically load the Nix flake development environment
.gitignore Excludes direnv cache directory from version control
flake.nix Simplifies macOS dependencies by replacing three framework packages with apple-sdk
flake.lock Updates nixpkgs and rust-overlay to newer commits

@YusukeShimizu YusukeShimizu marked this pull request as draft January 16, 2026 05:22
Set up direnv with a project .envrc, ignore direnv cache artifacts,
 and update flake inputs (including the macOS
apple-sdk simplification).

Signed-off-by: Yusuke Shimizu <stm1051212@gmail.com>
@YusukeShimizu YusukeShimizu force-pushed the chore/direnv-flake-update branch from 764a97c to 08114aa Compare January 18, 2026 00:23
@YusukeShimizu YusukeShimizu marked this pull request as ready for review January 18, 2026 03:41
Copilot AI review requested due to automatic review settings January 18, 2026 03:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 4 changed files in this pull request and generated no new comments.

@katzdave
Copy link
Collaborator

katzdave commented Feb 5, 2026

@YusukeShimizu been a few weeks, is this change still relevant?

@YusukeShimizu
Copy link
Contributor Author

@katzdave
Thanks for checking.
Yes, this PR is still relevant as the build error persists on my end without these changes.

@katzdave katzdave added this pull request to the merge queue Feb 17, 2026
Merged via the queue into block:main with commit 576590d Feb 17, 2026
24 of 25 checks passed
zanesq added a commit that referenced this pull request Feb 17, 2026
…led-extensions-cmd

* 'main' of github.com:block/goose: (24 commits)
  Set up direnv and update flake inputs (#6526)
  fix: restore subagent tool call notifications after summon refactor (#7243)
  fix(ui): preserve server config values on partial provider config save (#7248)
  fix(claude-code): allow goose to run inside a Claude Code session (#7232)
  fix(openai): route gpt-5 codex via responses and map base paths (#7254)
  feat: add GoosePlatform to AgentConfig and MCP initialization (#6931)
  Fix copied over (#7270)
  feat(gemini-cli): add streaming support via stream-json events (#7244)
  fix: filter models without tool support from recommended list (#7198)
  fix(google): handle more thoughtSignature vagaries during streaming (#7204)
  docs: playwright CLI skill tutorial (#7261)
  install node in goose dir (#7220)
  fix: relax test_basic_response assertion for providers returning reasoning_content (#7249)
  fix: handle reasoning_content for Kimi/thinking models (#7252)
  feat: sandboxing for macos (#7197)
  fix(otel): use monotonic_counter prefix and support temporality env var (#7234)
  Streaming markdown (#7233)
  Improve compaction messages to enable better post-compaction agent behavior (#7259)
  fix: avoid shell-escaping special characters except quotes (#7242)
  fix: use dynamic port for Tetrate auth callback server (#7228)
  ...
katzdave added a commit to YusukeShimizu/goose that referenced this pull request Feb 17, 2026
* origin/main: (263 commits)
  working_dir usage more clear in add_extension (block#6958)
  Use Canonical Models to set context window sizes (block#6723)
  Set up direnv and update flake inputs (block#6526)
  fix: restore subagent tool call notifications after summon refactor (block#7243)
  fix(ui): preserve server config values on partial provider config save (block#7248)
  fix(claude-code): allow goose to run inside a Claude Code session (block#7232)
  fix(openai): route gpt-5 codex via responses and map base paths (block#7254)
  feat: add GoosePlatform to AgentConfig and MCP initialization (block#6931)
  Fix copied over (block#7270)
  feat(gemini-cli): add streaming support via stream-json events (block#7244)
  fix: filter models without tool support from recommended list (block#7198)
  fix(google): handle more thoughtSignature vagaries during streaming (block#7204)
  docs: playwright CLI skill tutorial (block#7261)
  install node in goose dir (block#7220)
  fix: relax test_basic_response assertion for providers returning reasoning_content (block#7249)
  fix: handle reasoning_content for Kimi/thinking models (block#7252)
  feat: sandboxing for macos (block#7197)
  fix(otel): use monotonic_counter prefix and support temporality env var (block#7234)
  Streaming markdown (block#7233)
  Improve compaction messages to enable better post-compaction agent behavior (block#7259)
  ...

# Conflicts:
#	crates/goose/src/providers/openai.rs
zanesq added a commit that referenced this pull request Feb 17, 2026
…ions-fallback

* 'main' of github.com:block/goose: (43 commits)
  Added cmd to validate bundled extensions json (#7217)
  working_dir usage more clear in add_extension (#6958)
  Use Canonical Models to set context window sizes (#6723)
  Set up direnv and update flake inputs (#6526)
  fix: restore subagent tool call notifications after summon refactor (#7243)
  fix(ui): preserve server config values on partial provider config save (#7248)
  fix(claude-code): allow goose to run inside a Claude Code session (#7232)
  fix(openai): route gpt-5 codex via responses and map base paths (#7254)
  feat: add GoosePlatform to AgentConfig and MCP initialization (#6931)
  Fix copied over (#7270)
  feat(gemini-cli): add streaming support via stream-json events (#7244)
  fix: filter models without tool support from recommended list (#7198)
  fix(google): handle more thoughtSignature vagaries during streaming (#7204)
  docs: playwright CLI skill tutorial (#7261)
  install node in goose dir (#7220)
  fix: relax test_basic_response assertion for providers returning reasoning_content (#7249)
  fix: handle reasoning_content for Kimi/thinking models (#7252)
  feat: sandboxing for macos (#7197)
  fix(otel): use monotonic_counter prefix and support temporality env var (#7234)
  Streaming markdown (#7233)
  ...

# Conflicts:
#	crates/goose/src/config/extensions.rs
jh-block added a commit that referenced this pull request Feb 18, 2026
* origin/main: (49 commits)
  chore: show important keys for provider configuration (#7265)
  fix: subrecipe relative path with summon (#7295)
  fix extension selector not displaying the correct enabled extensions (#7290)
  Use the working dir from the session (#7285)
  Fix: Minor logging uplift for debugging of prompt injection mitigation (#7195)
  feat(otel): make otel logging level configurable (#7271)
  docs: add documentation for Top Of Mind extension (#7283)
  Document gemini 3 thinking levels (#7282)
  docs: stream subagent tool calls (#7280)
  Docs: delete custom provider in desktop (#7279)
  Everything is streaming (#7247)
  openai: responses models and hardens event streaming handling (#6831)
  docs: disable ai session naming (#7194)
  Added cmd to validate bundled extensions json (#7217)
  working_dir usage more clear in add_extension (#6958)
  Use Canonical Models to set context window sizes (#6723)
  Set up direnv and update flake inputs (#6526)
  fix: restore subagent tool call notifications after summon refactor (#7243)
  fix(ui): preserve server config values on partial provider config save (#7248)
  fix(claude-code): allow goose to run inside a Claude Code session (#7232)
  ...
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

Comments