diff options
| author | Domen Kožar <domen@dev.si> | 2022-08-23 16:23:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-23 16:23:19 +0200 |
| commit | 2f3c9bb364a3add2a2649f720b359ee9b8012094 (patch) | |
| tree | 83b7429ba4bdbc0dc40c303a1960adc27f658fed /modules | |
| parent | 5af1aa51f63d734284bf6728a21d2c9c31eb7492 (diff) | |
| parent | 903eb89a07bb631688a44f3ecaf442f5d3509f9c (diff) | |
Merge pull request #493 from AlexOwl/patch-1
Fix brewfile behavior to allow cask_args, etc
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/homebrew.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/homebrew.nix b/modules/homebrew.nix index 951d1ee..e507557 100644 --- a/modules/homebrew.nix +++ b/modules/homebrew.nix @@ -16,12 +16,12 @@ let ); brewfile = pkgs.writeText "Brewfile" ( + optionalString (cfg.extraConfig != "") ("# Extra config\n" + cfg.extraConfig) + brewfileSection "Taps" "tap" cfg.taps + brewfileSection "Brews" "brew" cfg.brews + brewfileSection "Casks" "cask" cfg.casks + masBrewfileSection cfg.masApps + - brewfileSection "Docker containers" "whalebrew" cfg.whalebrews + - optionalString (cfg.extraConfig != "") ("# Extra config\n" + cfg.extraConfig) + brewfileSection "Docker containers" "whalebrew" cfg.whalebrews ); brew-bundle-command = concatStringsSep " " ( |
