Merge pull request #50 from zhaofengli/fix-homebrew-install-check-2
Ignore unused INSTALLING_HOMEBREW error in older nix-darwin
This commit is contained in:
@@ -503,6 +503,8 @@ in {
|
||||
# disable the install homebrew check
|
||||
# see https://github.com/LnL7/nix-darwin/pull/1178 and https://github.com/zhaofengli/nix-homebrew/issues/45
|
||||
system.checks.text = lib.mkIf config.homebrew.enable (lib.mkBefore ''
|
||||
# Ignore unused variable in nix-darwin versions without it
|
||||
# shellcheck disable=SC2034
|
||||
INSTALLING_HOMEBREW=1
|
||||
'');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user