From 6ee6262d2468cf053f39cb53ea6272af337f2cf7 Mon Sep 17 00:00:00 2001 From: Jalal El Mansouri Date: Sun, 5 Jan 2025 10:29:12 -0300 Subject: Add --ignore-dependencies option for casks Some casks have extrenal dependencies managed by brew, neovide for examples declares neovim as a dependency, a problem arises when you want to use a nix managed neovim instead --- modules/homebrew.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/homebrew.nix b/modules/homebrew.nix index 7aee9e1..d975170 100644 --- a/modules/homebrew.nix +++ b/modules/homebrew.nix @@ -396,6 +396,9 @@ let no_binaries = mkNullOrBoolOption { description = "Whether to disable linking of helper executables."; }; + ignore_dependencies = mkNullOrBoolOption { + description = "Ignore casks dependencies in case you manage them extrenally"; + }; brewfileLine = mkInternalOption { type = types.nullOr types.str; }; }; -- cgit v1.2.3