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

How to update brew with configure #121

Open
tangkhaiphuong opened this issue Oct 31, 2024 · 3 comments
Open

How to update brew with configure #121

tangkhaiphuong opened this issue Oct 31, 2024 · 3 comments
Labels
question Further information is requested

Comments

@tangkhaiphuong
Copy link

HI, I try add brew package azure-cli in file: https://github.com/dustinlyons/nixos-config/blob/main/modules/darwin/casks.nix

And try run: nix run .#build-switch

Installing azure-cli
Warning: Cask 'azure-cli' is unavailable: No Cask with this name exists.
Error: No casks found for azure-cli.
==> Searching for similarly named casks...
Installing azure-cli has failed!

So how to configure brew update package. In the past it just: brew update && brew install azure-cli

@dustinlyons
Copy link
Owner

Hi @tangkhaiphuong

This project only uses homebrew for software out of scope of the Nix package manager, which includes only casks and Mac App Store apps, not traditional terminal software.

For that, you should use the Nix package manager. You can search for packages available in nixpkgs (the Nix package repository) here: https://search.nixos.org/packages

I checked, and azure-cli is available, so you can install it by just adding azure-cli to your packages.nix file.

@dustinlyons dustinlyons added the question Further information is requested label Oct 31, 2024
@tangkhaiphuong
Copy link
Author

I want to reset everything at start new. So what command to do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants
@dustinlyons @tangkhaiphuong and others