Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix-darwin says homebrew isn't installed, but it is #884

Open
amrox opened this issue Feb 24, 2024 · 1 comment
Open

nix-darwin says homebrew isn't installed, but it is #884

amrox opened this issue Feb 24, 2024 · 1 comment

Comments

@amrox
Copy link

amrox commented Feb 24, 2024

I'm new with nix-darwin. I'm attempting to use it to manage homebrew packages but failing immediately

➜ darwin-rebuild switch --flake ~/.config/nix-darwin
user defaults...
setting up user launchd services...
Homebrew bundle...
error: Homebrew is not installed, skipping...
...
➜ brew config
HOMEBREW_VERSION: 4.2.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: e5fefd73cd97cd36ae3af29551f529ae59b333d6
Last commit: 5 days ago
Core tap JSON: 20 Feb 15:08 UTC
Core cask tap JSON: 20 Feb 15:08 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.3KNVMhS8PU/org.xquartz:0
HOMEBREW_EDITOR: nano
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.2.1-arm64
CLT: 15.1.0.0.1.1700200546
Xcode: 15.2
Rosetta 2: false

any ideas?

@Eveeifyeve
Copy link

There is a package out there called nix-homebrew that does install homebrew by default the homebrew option doesn't install homebrew so either you have to install it the offical way or nix-homebrew.

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

No branches or pull requests

2 participants