Use the correct filter for systems
This commit is contained in:
parent
ece3ec0574
commit
686a2f39e1
4 changed files with 5 additions and 5 deletions
|
@ -4,7 +4,7 @@ with lib;
|
|||
{
|
||||
homebrew.enable = true;
|
||||
homebrew.brewPrefix =
|
||||
if pkgs.system == "aarch64-darwin" then "/opt/homebrew/bin"
|
||||
if pkgs.stdenv.isAarch64 then "/opt/homebrew/bin"
|
||||
else "/usr/local/bin";
|
||||
homebrew.onActivation.cleanup = "zap";
|
||||
homebrew.onActivation.upgrade = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue