mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Merge pull request #1178 from isabelroses/fix/checks/homebrew
fix: allow users to disable the homebrew check
This commit is contained in:
commit
61cee20168
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ let
|
||||||
'';
|
'';
|
||||||
|
|
||||||
homebrewInstalled = ''
|
homebrewInstalled = ''
|
||||||
if [[ ! -f ${escapeShellArg config.homebrew.brewPrefix}/brew ]]; then
|
if [[ ! -f ${escapeShellArg config.homebrew.brewPrefix}/brew && -z "''${INSTALLING_HOMEBREW:-}" ]]; then
|
||||||
echo "[1;31merror: Using the homebrew module requires homebrew installed, aborting activation[0m" >&2
|
echo "[1;31merror: Using the homebrew module requires homebrew installed, aborting activation[0m" >&2
|
||||||
echo "Homebrew doesn't seem to be installed. Please install homebrew separately." >&2
|
echo "Homebrew doesn't seem to be installed. Please install homebrew separately." >&2
|
||||||
echo "You can install homebrew using the following command:" >&2
|
echo "You can install homebrew using the following command:" >&2
|
||||||
|
|
Loading…
Reference in a new issue