Skip to content

Commit

Permalink
Ignore unused INSTALLING_HOMEBREW shellcheck error in older nix-darwi…
Browse files Browse the repository at this point in the history
…n versions

Probably better to just ignore it instead :/

Ref: #48.
  • Loading branch information
zhaofengli committed Nov 20, 2024
1 parent f358056 commit cf10b2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'');
};
Expand Down

0 comments on commit cf10b2c

Please sign in to comment.