summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalo Bourgon <mbourgon@gmail.com>2022-01-17 16:07:09 -0800
committerMalo Bourgon <mbourgon@gmail.com>2022-01-17 16:07:09 -0800
commitbef36215010aa0e95f85d205194976b798d7ad8f (patch)
tree97b88265711e63d6d1ffd68d7afceaf480d7d892
parentaf65e183c3f716424e0b4f2e42125b3422c37421 (diff)
Fix homebrew.brewPrefix default value on Apple Silicon
-rw-r--r--modules/homebrew.nix2
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.
'';