1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00

Merge pull request from AlexOwl/patch-1

Fix brewfile behavior to allow cask_args, etc
This commit is contained in:
Domen Kožar 2022-08-23 16:23:19 +02:00 committed by GitHub
commit 2f3c9bb364
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 " " (