Closed zehauser closed 1 week ago
I created a PR upstream: https://github.com/LnL7/nix-darwin/pull/1178
In the mean time the best solution we have now is installing homebrew imperatively and setting nix-homebrew.autoMigrate = true;
@isabelroses Thank you for following up on this!
I just tried to run
darwin-rebuild
on a system with no Homebrew, with a Nix config that specifiedhomebrew
packages and casks and also usesnix-homebrew
to manage (and install) Homebrew. It failed with this error:This check was recently added in this PR: https://github.com/LnL7/nix-darwin/pull/961.
Hopefully we can hook into this check and interoperate with it to make this use case work again! If I have a chance next week I'll pop in and try to propose a PR (either here or in
nix-darwin
or both), but I'd be thrilled if someone else gets to it first. 😁