Skip to content

Add graphviz to Homebrew brews list - #336

Merged
shunkakinoki merged 1 commit into
mainfrom
chore-add-graphviz
Nov 11, 2025
Merged

Add graphviz to Homebrew brews list#336
shunkakinoki merged 1 commit into
mainfrom
chore-add-graphviz

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Nov 11, 2025

Copy link
Copy Markdown
Owner

Include graphviz in the list of available Homebrew brews.


Summary by cubic

Added graphviz to the nix-darwin Homebrew brews list so DOT diagram rendering is available by default on macOS dev machines.

Written for commit 3e86e00. Summary will update automatically on new commits.

Copilot AI review requested due to automatic review settings November 11, 2025 17:10
@shunkakinoki shunkakinoki self-assigned this Nov 11, 2025
@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 integrates the graphviz utility into the Homebrew package list within the nix-darwin configuration. This change ensures that graphviz is automatically provisioned for users leveraging this specific Homebrew setup, streamlining the availability of this powerful graph visualization tool.

Highlights

  • Homebrew Package Addition: The graphviz package has been added to the list of Homebrew brews managed by the nix-darwin configuration.
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 Nov 11, 2025

Copy link
Copy Markdown
📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Added graphviz to the system package installation list, expanding available tools in the development environment.

Walkthrough

The change adds the "graphviz" package to the homebrew package list in the nix-darwin configuration. This is a single-line addition to the existing brews attribute, enabling graphviz installation when the system configuration is applied.

Changes

Cohort / File(s) Summary
Homebrew package addition
nix-darwin/config/homebrew.nix
Added "graphviz" to the homebrew.brews list

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A diagram tool joins the brew,
Graphviz adds a graph or two,
In Darwin's home, it now will stay,
Visualizing the config way! ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title directly and clearly describes the main change: adding graphviz to the Homebrew brews list, matching the primary modification in the changeset.
Description check ✅ Passed The description is related to the changeset, explaining the purpose of adding graphviz to enable DOT diagram rendering on macOS development machines.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore-add-graphviz

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 adds graphviz to the list of Homebrew packages. The change is straightforward and correctly maintains the alphabetical sorting of the package list. I have no further feedback.

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

This PR adds the graphviz package to the list of Homebrew brews managed by nix-darwin configuration. Graphviz is a graph visualization software toolkit commonly used for rendering diagrams and network graphs.

Key Changes

  • Added "graphviz" entry to the homebrew.nix brews list in alphabetical order

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

@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

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 6e20b50 and 3e86e00.

📒 Files selected for processing (1)
  • nix-darwin/config/homebrew.nix (1 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
**/*.nix

📄 CodeRabbit inference engine (CLAUDE.md)

Format all Nix files with nixfmt

**/*.nix: Nix: Use 2 spaces for indentation
Nix: Keep line length under 100 characters
Nix: Sort attribute sets alphabetically
Nix: Use consistent spacing around operators
Nix: Format lists and sets consistently

Follow the Nix expression language style guide

Files:

  • nix-darwin/config/homebrew.nix
nix-darwin/**

📄 CodeRabbit inference engine (CLAUDE.md)

Use Homebrew only for macOS-specific applications within nix-darwin configs

Keep Darwin-specific configurations under nix-darwin/

Files:

  • nix-darwin/config/homebrew.nix
🧠 Learnings (2)
📓 Common learnings
Learnt from: CR
Repo: shunkakinoki/dotfiles PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-09-28T16:25:07.125Z
Learning: Applies to nix-darwin/** : Use Homebrew only for macOS-specific applications within nix-darwin configs
Learnt from: CR
Repo: shunkakinoki/dotfiles PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-09-28T16:26:18.516Z
Learning: Applies to nix-darwin/** : Keep Darwin-specific configurations under nix-darwin/
📚 Learning: 2025-09-28T16:25:07.125Z
Learnt from: CR
Repo: shunkakinoki/dotfiles PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-09-28T16:25:07.125Z
Learning: Applies to nix-darwin/** : Use Homebrew only for macOS-specific applications within nix-darwin configs

Applied to files:

  • nix-darwin/config/homebrew.nix
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: cubic · AI code reviewer
  • GitHub Check: nix-nixos
  • GitHub Check: nix-linux
  • GitHub Check: nix-darwin
  • GitHub Check: docker-build-push (linux/arm64, arm64, ubuntu-24.04-arm)
  • GitHub Check: docker-build-push (linux/amd64, amd64, ubuntu-latest)
  • GitHub Check: e2e-run (Ubuntu, ubuntu-latest)
  • GitHub Check: e2e-run (MacOS, macos-latest)
  • GitHub Check: e2e-run (NixOS, ubuntu-latest)

"gemini-cli"
"geth"
"gnupg"
"graphviz"

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 | 🟠 Major

Consider installing graphviz via Nix instead of Homebrew.

Graphviz is a cross-platform tool available in nixpkgs and should be installed via Nix rather than Homebrew, as it's not a macOS-specific application.

Based on learnings and coding guidelines.

Apply this diff to remove it from the Homebrew brews list:

-      "graphviz"

Then add it to your Nix configuration (e.g., in a packages list) instead:

environment.systemPackages = with pkgs; [
  graphviz
  # ... other packages
];
🤖 Prompt for AI Agents
In nix-darwin/config/homebrew.nix around line 29 the Homebrew brews list
contains "graphviz" which should be removed because Graphviz belongs in nixpkgs;
remove that entry from the brews list and instead add graphviz to your Nix
environment packages (e.g., add graphviz to environment.systemPackages = with
pkgs; [ graphviz ... ] in your Nix configuration).

@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 1 file

@shunkakinoki
shunkakinoki enabled auto-merge (squash) November 11, 2025 17:21
@shunkakinoki
shunkakinoki merged commit ac5ca4e into main Nov 11, 2025
30 checks passed
@shunkakinoki
shunkakinoki deleted the chore-add-graphviz branch November 11, 2025 18:08
@mesa-dot-dev

mesa-dot-dev Bot commented Nov 11, 2025

Copy link
Copy Markdown

Mesa Description

TL;DR

Added graphviz to the nix-darwin Homebrew brews list to enable DOT diagram rendering on macOS development machines.

What changed?

The file summaries are undefined, so a detailed list of changes by file cannot be provided. However, based on the PR title and summary, graphviz was added to the Homebrew brews list, likely within nix-darwin/config/homebrew.nix.

Description generated by Mesa. Update settings

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