Open jcszymansk opened 1 year ago
Same here, although this does not seem to be affecting anything. @zhaofengli is this expected?
Figured it out - this is because nix-darwin
's homebrew module is trying to untap all taps due to its taps
attribute being empty by default.
Passing all taps to it solves the issue for me. In nix-darwin
's homebrew
:
taps = builtins.attrNames config.nix-homebrew.taps;
I tried to use nix-homebrew to manage my brew installation which in turn manages brews and casks. So far it was managed with nix-darwin homebrew.* options.
After installing brews are causing no problems, but after every
darwin-rebuild switch --flake .
brew attempts to reinstall all casks and then finishes with the following error:Error: Refusing to untap homebrew/cask because it contains the following installed formulae or casks:
I have also tried removing homebrew completely and installing it from scratch with nix-homebrew, to no avail, the effect is exactly the same.
My darwin configuration is as follows:
and homebrew related configuration in configuration.nix: