modules/homebrew: remove homebrew.whalebrews option

Whalebrew support was fully removed from Homebrew Bundle in
Homebrew 4.7.0 (Nov 2025). A `whalebrew` entry in a Brewfile now
raises `RuntimeError: Invalid Brewfile: undefined method 'whalebrew'`,
breaking the entire `brew bundle` invocation.

Use `mkRemovedOptionModule` so that existing configs get a clear
warning instead of an undefined-option error. Also removes the
auto-addition of `"whalebrew"` to `homebrew.brews` and the Brewfile
generation for Docker containers.
This commit is contained in:
Malo Bourgon 2026-02-09 21:22:06 -08:00
parent 3479b795aa
commit 65cfcebaa2
No known key found for this signature in database
2 changed files with 7 additions and 32 deletions

View file

@ -85,14 +85,11 @@ in
"ripgrep"
];
homebrew.whalebrews = [
"whalebrew/wget"
];
homebrew.vscode = [
"golang.go"
];
test = ''
bf=${lib.escapeShellArg config.homebrew.brewfile}
@ -126,9 +123,6 @@ in
echo "checking cargo entries in Brewfile" >&2
${mkTest "ripgrep" ''cargo "ripgrep"''}
echo "checking whalebrew entries in Brewfile" >&2
${mkTest "whalebrew/wget" ''whalebrew "whalebrew/wget"''}
echo "checking vscode entries in Brewfile" >&2
${mkTest "golang.go" ''vscode "golang.go"''}
'';