dustinlyons / nixos-config

General purpose Nix configuration for macOS / NixOS with starter templates + step-by-step guides ✨
BSD 3-Clause "New" or "Revised" License
1.52k stars 95 forks source link

How can I fix this homebrew error? #63

Closed SolidRhino closed 6 months ago

SolidRhino commented 6 months ago

I get the following error when I try to build and switch my configuration:

Error: Your Homebrew is too outdated for `brew bundle`. Please run `brew update`!

But when I run brew update I get the following error:

/nix/store/qkmybdpgm0xdmm1qnxx91sx09l3f4dij-source/.git: Permission denied

How can I fix this?

Thank you

multivac61 commented 6 months ago

I'm running into the same issue.

multivac61 commented 6 months ago

This has been fixed on the newest version of nix-homebrew.

You can run nix flake update --commit-lock-file to update your configuration.

dustinlyons commented 6 months ago

Ahh, the beauty of Nix flakes 😉 Something broken? Just wait a few days, run nix flake update and all is good in the world.

This summarizes mostly all breaks I encounter with the configuration.

dustinlyons commented 6 months ago

Closing given fix is now available.