From 587213a5af8d900a4e0990e6bf7ef41349cf3b6b Mon Sep 17 00:00:00 2001 From: Ray Andrew Date: Tue, 9 Dec 2025 12:30:34 -0600 Subject: [PATCH] fix: homebrew immutable taps managed by nix --- darwin/homebrew.nix | 18 +++++++++--------- hosts/dango/default.nix | 3 ++- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/darwin/homebrew.nix b/darwin/homebrew.nix index 49a0fcd..ca3c65e 100644 --- a/darwin/homebrew.nix +++ b/darwin/homebrew.nix @@ -81,11 +81,11 @@ "homebrew/homebrew-createzap" = inputs.homebrew-createzap; "d12frosted/homebrew-emacs-plus" = inputs.homebrew-emacs-plus; "brewsci/homebrew-bio" = inputs.homebrew-brewsci-bio; - "nikitabobko/tap" = inputs.homebrew-nikitabobko; - # "LouisBrunner/valgrind" = inputs.homebrew-valgrind; + "nikitabobko/homebrew-tap" = inputs.homebrew-nikitabobko; + "LouisBrunner/homebrew-valgrind" = inputs.homebrew-valgrind; } ]; - mutableTaps = true; # true to enable valgrind + mutableTaps = false; }; homebrew = { enable = true; @@ -372,12 +372,12 @@ ]; }) (lib.mkIf config.custom.brew.valgrind { - # homebrew.brews = [ - # { - # name = "LouisBrunner/valgrind/valgrind"; - # args = ["HEAD"]; - # } - # ]; + homebrew.brews = [ + { + name = "LouisBrunner/valgrind/valgrind"; + args = [ "HEAD" ]; + } + ]; }) (lib.mkIf config.custom.brew.hammerspoon { homebrew.casks = [ diff --git a/hosts/dango/default.nix b/hosts/dango/default.nix index 583438d..6998db1 100644 --- a/hosts/dango/default.nix +++ b/hosts/dango/default.nix @@ -63,7 +63,8 @@ ninja = true; clang-format = true; marta = true; - valgrind = true; + # broken on aarch64-darwin + valgrind = false; hammerspoon = true; aerospace = true; };