From d06cf700ee589527fde4bd9b91f899e7137c05a6 Mon Sep 17 00:00:00 2001 From: Yifei Sun Date: Tue, 4 Mar 2025 12:09:11 -0500 Subject: [PATCH] homebrew: remove `--no-lock` flag https://github.com/Homebrew/homebrew-bundle/pull/1630 --- modules/homebrew.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/homebrew.nix b/modules/homebrew.nix index 6f8cfcb9..10764fbb 100644 --- a/modules/homebrew.nix +++ b/modules/homebrew.nix @@ -137,7 +137,7 @@ let config = { brewBundleCmd = concatStringsSep " " ( optional (!config.autoUpdate) "HOMEBREW_NO_AUTO_UPDATE=1" - ++ [ "brew bundle --file='${brewfileFile}' --no-lock" ] + ++ [ "brew bundle --file='${brewfileFile}'" ] ++ optional (!config.upgrade) "--no-upgrade" ++ optional (config.cleanup == "uninstall") "--cleanup" ++ optional (config.cleanup == "zap") "--cleanup --zap"