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:
Zhaofeng Li
2024-11-20 16:32:23 -07:00
committed by GitHub
+2
View File
@@ -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
'');
};