diff options
| author | Malo Bourgon <mbourgon@gmail.com> | 2022-01-17 16:07:09 -0800 |
|---|---|---|
| committer | Malo Bourgon <mbourgon@gmail.com> | 2022-01-17 16:07:09 -0800 |
| commit | bef36215010aa0e95f85d205194976b798d7ad8f (patch) | |
| tree | 97b88265711e63d6d1ffd68d7afceaf480d7d892 | |
| parent | af65e183c3f716424e0b4f2e42125b3422c37421 (diff) | |
Fix homebrew.brewPrefix default value on Apple Silicon
| -rw-r--r-- | modules/homebrew.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/homebrew.nix b/modules/homebrew.nix index c087cf9..951d1ee 100644 --- a/modules/homebrew.nix +++ b/modules/homebrew.nix @@ -54,7 +54,7 @@ in brewPrefix = mkOption { type = types.str; - default = if pkgs.stdenv.hostPlatform.darwinArch == "aarch64" then "/opt/homebrew/bin" else "/usr/local/bin"; + default = if pkgs.stdenv.hostPlatform.isAarch64 then "/opt/homebrew/bin" else "/usr/local/bin"; description = '' Customize path prefix where executable of <command>brew</command> is searched for. ''; |
