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

Set the homebrew variables to avoid uncessary network access #151

Open
samoht opened this issue Mar 30, 2023 · 1 comment
Open

Set the homebrew variables to avoid uncessary network access #151

samoht opened this issue Mar 30, 2023 · 1 comment

Comments

@samoht
Copy link
Contributor

samoht commented Mar 30, 2023

For the CI, it's necessary to avoid network access when possible (especially when we know when things are already installed). homebrew allows users to set a few environment variables to control this; Right now, opam-repository does this (although not always properly but it would be nice if opam-depext would do this instead.

The variables are to set are:

  HOMEBREW_NO_INSTALL_FROM_API = 1
  HOMEBREW_NO_AUTO_UPDATE = 1
@kit-ty-kate
Copy link
Contributor

A notable side note to that is that: this behaviour is a bug that only exists for Homebrew 4.0.0 and 4.0.1. So most users shouldn't hit this.

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