Skip to content

Go path rename - #683

Merged
shunkakinoki merged 6 commits into
mainfrom
go-path-rename
Jan 28, 2026
Merged

Go path rename#683
shunkakinoki merged 6 commits into
mainfrom
go-path-rename

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Jan 28, 2026

Copy link
Copy Markdown
Owner

Note

Medium Risk
Mostly mechanical Nix/Home Manager refactors, but it changes how config files are sourced (store vs out-of-store) and adjusts macOS GUI app environment variables, which could affect developer tooling paths.

Overview
Replaces config.lib.file.mkOutOfStoreSymlink with direct source = ./… references across many Home Manager config modules (e.g., amp, cliproxyapi, llm, zellij, ssh, neovim, fish), changing how these dotfiles are linked into the home directory.

On nix-darwin, adds Go-related GUI environment setup by exporting GOROOT, GOPATH, and an explicit PATH, creates /etc/go-root from the Nix Go package, and disables documentation to avoid an options.json warning during docs generation.

Written by Cursor Bugbot for commit 7250c38. Configure here.


Summary by cubic

Standardized Go paths for macOS GUI apps and replaced out-of-store symlinks with direct file sources. This fixes PATH visibility for VS Code and similar apps and makes config management more reliable.

  • Bug Fixes

    • Set GOROOT (/etc/go-root), GOPATH (~/go), and PATH in launchd for GUI apps.
    • Provide /etc/go-root from pkgs.go for consistent GOROOT.
    • Disabled documentation.enable to avoid noisy nixpkgs options.json warnings.
  • Refactors

    • Replaced config.lib.file.mkOutOfStoreSymlink with direct source paths across configs (amp, cliproxyapi, codex, crush, direnv, factory, ghostty, hammerspoon, jj, k3s, llm, opencode, pi, serena, starship, zellij, fish, neovim, ssh).
    • Updated Codex defaults: enable web search caching, child agent markdown, collaboration, and steering.

Written for commit 318584a. Summary will update on new commits.

Copilot AI review requested due to automatic review settings January 28, 2026 22:53
@mesa-dot-dev

mesa-dot-dev Bot commented Jan 28, 2026

Copy link
Copy Markdown

You do not have enough credits to review this pull request. Please purchase more credits to continue.

@mesa-dot-dev

mesa-dot-dev Bot commented Jan 28, 2026

Copy link
Copy Markdown

Mesa Description

TL;DR

Standardized Go paths for macOS GUI applications and refactored Home Manager configuration modules to use direct file sources instead of out-of-store symlinks.

What changed?

  • Configured Go environment variables (GOROOT, GOPATH, PATH) for macOS GUI applications, provided /etc/go-root from pkgs.go, and disabled documentation in nix-darwin/config/system.nix.
  • Replaced config.lib.file.mkOutOfStoreSymlink with direct relative path references across multiple Home Manager modules including amp, cliproxyapi, codex, crush, direnv, factory, ghostty, hammerspoon, jj, k3s, llm, opencode, pi, serena, starship, zellij, fish, neovim, and ssh.
  • Updated config/codex/config.toml to suppress unstable features warnings and enable web_search_cached, child_agents_md, collab, and steer flags.

Description generated by Mesa. Update settings

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @shunkakinoki, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily focuses on two areas: simplifying Nix configuration file sourcing by removing redundant mkOutOfStoreSymlink calls across many modules, and establishing a robust Go development environment within Nix-Darwin. The changes ensure Go-related paths are correctly set for GUI applications and streamline the overall configuration management.

Highlights

  • Streamlined Nix File Sourcing: The explicit use of config.lib.file.mkOutOfStoreSymlink has been removed from numerous default.nix files across various configuration modules. This change simplifies how local configuration files are referenced, relying on Nix's implicit handling for files within the store.
  • Enhanced Go Environment Setup for Nix-Darwin: Critical environment variables (GOROOT, GOPATH, and an extended PATH) have been configured in nix-darwin/config/system.nix to properly support Go development, particularly for GUI applications. This also includes setting up a go-root symlink.
  • Nix-Darwin Documentation Management: The nix-darwin configuration now explicitly disables documentation generation to prevent potential warnings, contributing to a cleaner system build process.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai

coderabbitai Bot commented Jan 28, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@shunkakinoki has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 5 minutes and 42 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.

📝 Walkthrough

Walkthrough

Replaces many uses of config.lib.file.mkOutOfStoreSymlink with direct relative file paths across multiple Nix modules, and adds Go-related environment variables plus an etc source and a documentation flag in nix-darwin/config/system.nix.

Changes

Cohort / File(s) Summary
Config Module Source Simplification
config/amp/default.nix, config/cliproxyapi/default.nix, config/codex/default.nix, config/crush/default.nix, config/direnv/default.nix, config/factory/default.nix, config/ghostty/default.nix, config/hammerspoon/default.nix, config/jj/default.nix, config/k3s/default.nix, config/llm/default.nix, config/opencode/default.nix, config/pi/default.nix, config/serena/default.nix, config/starship/default.nix, config/zellij/default.nix
Replaced config.lib.file.mkOutOfStoreSymlink ./<file> with ./<file> for various config sources (multiple files in some modules).
Home-Manager Program Configurations
home-manager/programs/fish/default.nix, home-manager/programs/neovim/default.nix, home-manager/programs/ssh/default.nix
Switched file sources from out-of-store symlinks to direct relative paths for Fish completions, Neovim init.lua, and SSH rc.
System Configuration
nix-darwin/config/system.nix
Added launchd.user.envVariables entries GOROOT, GOPATH, PATH; added environment.etc."go-root".source = "${pkgs.go}/share/go"; added documentation.enable = false.
Config Content Change
config/codex/config.toml
Toggled several boolean flags: suppress_unstable_features_warning = true, web_search_cached = true, child_agents_md = true, collab = true, steer = true.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Coder #389: Touches the same config modules (amp, cliproxyapi, factory) and similar mkOutOfStoreSymlink → direct path changes.
  • feat(config): add pi configuration module #500: Previously added the config/pi entries that this PR converts from mkOutOfStoreSymlink to direct paths.
  • Nvim migrate dir #371: Modifies the same Neovim home-manager entry (home.file.".config/nvim/init.lua") relating to mkOutOfStoreSymlink usage.

Suggested labels

enhancement

Poem

🐰 I hopped through symlinks, gentle and spry,
Swapped tangled loops for paths straight and nigh.
Go vars planted where launchd can see,
Configs lined up, tidy as can be.
A little hop, a tidy patch—whee!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Go path rename' is partially related to the changeset—it references the Go path setup for macOS GUI apps, but omits the major refactoring work (replacing mkOutOfStoreSymlink across 19 config files).
Description check ✅ Passed The description is comprehensive and clearly related to the changeset, covering both the Go environment setup and the widespread symlink refactoring across config modules.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch go-path-rename

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.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces two main changes: a widespread refactoring of Nix configurations to use direct source attributes instead of config.lib.file.mkOutOfStoreSymlink, and the standardization of Go environment variables for macOS GUI applications. The refactoring is a positive change, simplifying the configuration and aligning it better with Nix best practices. The addition of Go-related environment variables for launchd is also a good step towards ensuring tools are available in GUI apps. However, I've identified an issue with the hardcoded PATH variable, which is not robust and will likely fail on Apple Silicon Macs. I've provided a suggestion to improve this. Overall, the changes are beneficial but the PATH definition needs adjustment.

SHELL = "${pkgs.bash}/bin/bash";
GOROOT = "/etc/go-root";
GOPATH = "/Users/${username}/go";
PATH = "/Users/${username}/go/bin:/etc/profiles/per-user/${username}/bin:/run/current-system/sw/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Hardcoding the PATH variable is brittle and can lead to issues on different system architectures. For instance, this PATH is missing /opt/homebrew/bin, which is the standard location for Homebrew on Apple Silicon (aarch64) Macs. This could cause tools installed via Homebrew to be unavailable in GUI applications.

I suggest making the PATH definition more robust by conditionally including the Homebrew path for aarch64 systems. While it's generally best to avoid hardcoded paths in Nix, this change would at least account for different architectures.

    PATH = "/Users/${username}/go/bin:/etc/profiles/per-user/${username}/bin:/run/current-system/sw/bin" + (if pkgs.stdenv.isAarch64 then ":/opt/homebrew/bin" else "") + ":/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin";

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the macOS (nix-darwin) Go environment for GUI apps and switches many Home Manager/config file sources from out-of-store symlinks to store-backed paths.

Changes:

  • Add GOROOT, GOPATH, and PATH to launchd.user.envVariables, and expose a stable Go root under /etc/go-root.
  • Disable nix-darwin documentation generation (to avoid an options.json warning per comment).
  • Replace config.lib.file.mkOutOfStoreSymlink usages with direct source = ./... across multiple Home Manager/config modules.

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
nix-darwin/config/system.nix Sets Go-related env vars for GUI apps; adds /etc/go-root mapping; disables documentation.
home-manager/programs/ssh/default.nix Switch .ssh/rc to store-backed source = ./rc.
home-manager/programs/neovim/default.nix Switch Neovim init.lua to store-backed source.
home-manager/programs/fish/default.nix Switch fish theme/completions sources to store-backed paths.
config/zellij/default.nix Switch zellij config sources to store-backed paths.
config/starship/default.nix Switch starship config source to store-backed path.
config/serena/default.nix Switch serena config source to store-backed path.
config/pi/default.nix Switch pi agent config sources to store-backed paths.
config/opencode/default.nix Switch opencode config source to store-backed path.
config/llm/default.nix Switch llm config sources to store-backed paths (Darwin/Linux conditional targets).
config/k3s/default.nix Switch k3s config source to store-backed path.
config/jj/default.nix Switch jj config source to store-backed path.
config/hammerspoon/default.nix Switch hammerspoon init.lua source to store-backed path.
config/ghostty/default.nix Switch ghostty config source to store-backed path.
config/factory/default.nix Switch factory config source to store-backed path.
config/direnv/default.nix Switch direnvrc source to store-backed path.
config/crush/default.nix Switch crush config source to store-backed path.
config/codex/default.nix Switch codex config source to store-backed path.
config/cliproxyapi/default.nix Switch cli-proxy-api config sources to store-backed paths.
config/amp/default.nix Switch amp settings source to store-backed path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

xdg.configFile = {
"fish/themes/dracula.theme".source = ./dracula.theme;
"fish/completions".source = config.lib.file.mkOutOfStoreSymlink ./completions;
"fish/completions".source = ./completions;

Copilot AI Jan 28, 2026

Copy link

Choose a reason for hiding this comment

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

xdg.configFile."fish/completions".source points to a directory, but this entry doesn’t set recursive = true. Home Manager typically errors when a directory is used as a source without recursive. Add recursive = true (or revert to an approach that results in a single-file symlink) so the activation/build succeeds.

Suggested change
"fish/completions".source = ./completions;
"fish/completions" = {
source = ./completions;
recursive = true;
};

Copilot uses AI. Check for mistakes.
Comment on lines +12 to 15
GOROOT = "/etc/go-root";
GOPATH = "/Users/${username}/go";
PATH = "/Users/${username}/go/bin:/etc/profiles/per-user/${username}/bin:/run/current-system/sw/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin";
};

Copilot AI Jan 28, 2026

Copy link

Choose a reason for hiding this comment

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

This sets PATH explicitly for all GUI apps via launchd, which overwrites any existing PATH from the system/user environment. This is brittle (e.g., can drop paths like Homebrew’s /opt/homebrew/bin on Apple Silicon) and can cause GUI/terminal PATH divergence. Prefer constructing PATH from the existing system paths (or using nix-darwin’s path/systemPath mechanisms) rather than hardcoding a full PATH here.

Copilot uses AI. Check for mistakes.
Comment on lines +19 to +20
# Avoid nixpkgs options.json warning during docs generation.
documentation.enable = false;

Copilot AI Jan 28, 2026

Copy link

Choose a reason for hiding this comment

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

documentation.enable = false; globally disables documentation generation/installation for this nix-darwin system, which can remove manpages/docs for interactive use. If the intent is only to silence a docs-generation warning in CI, consider gating this on the relevant build context (e.g., runner/CI) or addressing the underlying warning instead of disabling docs unconditionally.

Copilot uses AI. Check for mistakes.
source = ./config.template.yaml;
force = true;
};
# Example config - required by cliproxyapi's object-backed config bootstrap

Copilot AI Jan 28, 2026

Copy link

Choose a reason for hiding this comment

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

The comment says this is an "Example config", but the source is ./config.template.yaml and there is no separate example file in this directory. Either update the comment to reflect that this is intentionally the template, or add a real config.example.yaml and source that instead.

Suggested change
# Example config - required by cliproxyapi's object-backed config bootstrap
# Example config (intentionally copied from config.template.yaml) - required by cliproxyapi's object-backed config bootstrap

Copilot uses AI. Check for mistakes.
Comment on lines 3 to 6
home.file.".config/starship.toml" = {
source = config.lib.file.mkOutOfStoreSymlink ./starship.toml;
source = ./starship.toml;
force = true;
};

Copilot AI Jan 28, 2026

Copy link

Choose a reason for hiding this comment

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

PR title suggests this change is about a Go path rename, but this file change is part of a broader sweep replacing mkOutOfStoreSymlink with direct source = ./... across many modules. Consider updating the PR title/description to reflect the larger scope (or splitting into separate PRs) to make review and rollback safer.

Copilot uses AI. Check for mistakes.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@nix-darwin/config/system.nix`:
- Around line 9-15: launchd.user.envVariables.PATH is missing Homebrew locations
so GUI apps get a different PATH; update the PATH value in
launchd.user.envVariables to include /opt/homebrew/bin and /opt/homebrew/sbin
(preferably prepended or included alongside the existing entries) while keeping
the existing per-user /Users/${username}/go and /etc/per-user entries and the
${username} expansion intact so GUI apps like VS Code see the same Homebrew
tools as your shell.
🧹 Nitpick comments (10)
config/opencode/default.nix (1)

1-6: Unused config parameter can be removed.

Since config.lib.file.mkOutOfStoreSymlink is no longer used, the config parameter is now unused.

🧹 Suggested cleanup
-{ config, ... }:
+{ ... }:
 {
   home.file.".config/opencode/opencode.jsonc" = {
     source = ./opencode.jsonc;
     force = true;
   };
 }
config/starship/default.nix (1)

1-6: Unused config parameter can be removed.

The config parameter is no longer referenced after switching to a direct path.

🧹 Suggested cleanup
-{ config, ... }:
+{ ... }:
 {
   home.file.".config/starship.toml" = {
     source = ./starship.toml;
     force = true;
   };
 }
config/ghostty/default.nix (1)

1-5: Unused config parameter can be removed.

The config parameter is no longer referenced after switching to a direct path.

🧹 Suggested cleanup
-{ config, ... }:
+{ ... }:
 {
   xdg.configFile."ghostty/config" = {
     source = ./config;
   };
 }
config/serena/default.nix (1)

1-6: Unused config parameter can be removed.

The config parameter is no longer referenced after switching to a direct path.

🧹 Suggested cleanup
-{ config, ... }:
+{ ... }:
 {
   home.file.".serena/serena_config.yml" = {
     source = ./serena_config.yml;
     force = true;
   };
 }
config/jj/default.nix (1)

1-5: Unused config parameter can be removed.

The config parameter is no longer referenced after switching to a direct path.

🧹 Suggested cleanup
-{ config, ... }:
+{ ... }:
 {
   xdg.configFile."jj/config.toml" = {
     source = ./config.toml;
   };
 }
config/pi/default.nix (1)

1-1: Remove unused config parameter.

The config parameter is no longer used after removing the mkOutOfStoreSymlink calls. It should be removed to keep the module clean.

♻️ Proposed fix
-{ config, ... }:
+{ ... }:
config/llm/default.nix (1)

1-1: Remove unused config parameter.

The config parameter is no longer used after removing the mkOutOfStoreSymlink calls.

♻️ Proposed fix
-{ config, pkgs, ... }:
+{ pkgs, ... }:
home-manager/programs/ssh/default.nix (1)

1-1: Remove unused config parameter.

The config parameter is no longer used after removing the mkOutOfStoreSymlink call.

♻️ Proposed fix
-{ config, ... }:
+{ ... }:
config/factory/default.nix (1)

1-1: Remove unused config parameter.

The config parameter is no longer used after removing the mkOutOfStoreSymlink call.

♻️ Proposed fix
-{ config, ... }:
+{ ... }:
config/cliproxyapi/default.nix (1)

1-1: Remove unused config parameter.

The config parameter is no longer used after removing the mkOutOfStoreSymlink calls.

♻️ Proposed fix
-{ config, ... }:
+{ ... }:

Comment on lines +9 to 15
# Set environment variables for GUI applications (VS Code, etc.)
launchd.user.envVariables = {
SHELL = "${pkgs.bash}/bin/bash";
GOROOT = "/etc/go-root";
GOPATH = "/Users/${username}/go";
PATH = "/Users/${username}/go/bin:/etc/profiles/per-user/${username}/bin:/run/current-system/sw/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin";
};

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

cat -n nix-darwin/config/system.nix

Repository: shunkakinoki/dotfiles

Length of output: 3109


🏁 Script executed:

# Search for Homebrew references in the repository
rg -i homebrew --type nix -A 2 -B 2 | head -100

Repository: shunkakinoki/dotfiles

Length of output: 6027


🏁 Script executed:

# Look for shell configuration files
fd -e "zshrc|bashrc|profile|shellrc" . | head -20

Repository: shunkakinoki/dotfiles

Length of output: 47


🏁 Script executed:

# Check if there's a home-manager config or other shell init
rg "shell\s*=" --type nix -A 3 | head -100

Repository: shunkakinoki/dotfiles

Length of output: 302


🏁 Script executed:

cat -n nix-darwin/config/homebrew.nix

Repository: shunkakinoki/dotfiles

Length of output: 3214


Add Homebrew paths to GUI PATH for consistency with shell environment.

launchd.user.envVariables.PATH omits /opt/homebrew/bin and /opt/homebrew/sbin, while your shell init files explicitly add them. This means GUI applications (like VS Code) will have a different PATH than your shell sessions, preventing them from accessing Homebrew-installed tools even though they're available in terminal sessions.

Suggested adjustment
-    PATH = "/Users/${username}/go/bin:/etc/profiles/per-user/${username}/bin:/run/current-system/sw/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin";
+    PATH = "/Users/${username}/go/bin:/etc/profiles/per-user/${username}/bin:/run/current-system/sw/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin";
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Set environment variables for GUI applications (VS Code, etc.)
launchd.user.envVariables = {
SHELL = "${pkgs.bash}/bin/bash";
GOROOT = "/etc/go-root";
GOPATH = "/Users/${username}/go";
PATH = "/Users/${username}/go/bin:/etc/profiles/per-user/${username}/bin:/run/current-system/sw/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin";
};
# Set environment variables for GUI applications (VS Code, etc.)
launchd.user.envVariables = {
SHELL = "${pkgs.bash}/bin/bash";
GOROOT = "/etc/go-root";
GOPATH = "/Users/${username}/go";
PATH = "/Users/${username}/go/bin:/etc/profiles/per-user/${username}/bin:/run/current-system/sw/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin";
};
🤖 Prompt for AI Agents
In `@nix-darwin/config/system.nix` around lines 9 - 15,
launchd.user.envVariables.PATH is missing Homebrew locations so GUI apps get a
different PATH; update the PATH value in launchd.user.envVariables to include
/opt/homebrew/bin and /opt/homebrew/sbin (preferably prepended or included
alongside the existing entries) while keeping the existing per-user
/Users/${username}/go and /etc/per-user entries and the ${username} expansion
intact so GUI apps like VS Code see the same Homebrew tools as your shell.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1 issue found across 1 file (changes from recent commits).

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="config/codex/config.toml">

<violation number="1" location="config/codex/config.toml:8">
P2: `suppress_unstable_features_warning` is documented under the `[notice]` table, not as a top‑level key. As added, it may be ignored or rejected, leaving the warning behavior unchanged.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread config/codex/config.toml Outdated
@shunkakinoki
shunkakinoki disabled auto-merge January 28, 2026 23:17
@shunkakinoki
shunkakinoki merged commit 65c3280 into main Jan 28, 2026
14 of 15 checks passed
@shunkakinoki
shunkakinoki deleted the go-path-rename branch January 28, 2026 23:17

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 20 files

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