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

Using homebrew.casks in nix-darwin reporting "Brewfile dependency failed to install" #29

Open
yzhou216 opened this issue Jul 19, 2024 · 0 comments

Comments

@yzhou216
Copy link

yzhou216 commented Jul 19, 2024

When installing casks using homebrew-casks from nix-darwin, the program successfully installs, but reporting "Brewfile dependency failed to install" (xcrun command). This happens even with xcodebuild installed:

lrwxr-xr-x 1 root wheel 74 Dec 31  1969 /run/current-system/sw/bin/xcrun -> /nix/store/mvwzcsdjgxw0qp531frxz07mnsh4mryx-xcodebuild-0.1.2-pre/bin/xcrun

Here's an example of attempting to install iTerm2:

Installing iterm2
==> Downloading https://iterm2.com/downloads/stable/iTerm2-3_5_3.zip
Warning: macOS's Gatekeeper has been disabled for this Cask
==> Installing Cask iterm2
==> Moving App 'iTerm.app' to '/Applications/iTerm.app'
🍺  iterm2 was successfully installed!
Error: No developer tools installed.
Install the Command Line Tools:
  xcode-select --install

Installing iterm2 has failed!
Homebrew Bundle failed! 1 Brewfile dependency failed to install.

Screenshot 2024-07-19 at 2 36 25 PM

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

1 participant