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

Brews not executable #1

Open
ajitam opened this issue Oct 14, 2024 · 1 comment
Open

Brews not executable #1

ajitam opened this issue Oct 14, 2024 · 1 comment

Comments

@ajitam
Copy link

ajitam commented Oct 14, 2024

First of - thank you for your great video on nix-darwin, I watched a lot of guide but I think I will go "your path" (and also looking forward for guid on home-manager).

I followed your guid but for some reason items in brew (link mas and ncdu) get installed (I see them by typing brew list) but they are not executable.

$ which mas
mas not found

I read that nix-homebrew does not manage paths but the is no mentioning of this in your video.
Any idea why?

@applesaucetf
Copy link

applesaucetf commented Nov 3, 2024

@ajitam, I hope I can help.

Are you on Apple Silicon? If so, you will need to ensure your Homebrew path is correct, which you can confirm via:

'''which brew'''

This should output to /opt/homebrew/bin/brew, otherwise you will need to ensure that it is mapped correctly:

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

Good luck!

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