summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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.
'';