mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +00:00
Merge pull request #418 from purcell/smarter-brew-prefix-default
Set brewPrefix defaults according to platform
This commit is contained in:
commit
13d129434d
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ in
|
|||
|
||||
brewPrefix = mkOption {
|
||||
type = types.str;
|
||||
default = "/usr/local/bin";
|
||||
default = if pkgs.stdenv.hostPlatform.darwinArch == "aarch64" then "/opt/homebrew/bin" else "/usr/local/bin";
|
||||
description = ''
|
||||
Customize path prefix where executable of <command>brew</command> is searched for.
|
||||
'';
|
||||
|
|
Loading…
Add table
Reference in a new issue