summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJalal El Mansouri <jalal.elmansouri@gmail.com>2025-01-05 10:29:12 -0300
committerJalal El Mansouri <jalal.elmansouri@gmail.com>2025-01-05 10:29:12 -0300
commit6ee6262d2468cf053f39cb53ea6272af337f2cf7 (patch)
treedf9bff54346993dc3e891528050a49efa22f37a3
parenta464e5ba8cfb10a81599dbd422f30f5d37997916 (diff)
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
-rw-r--r--modules/homebrew.nix3
1 files changed, 3 insertions, 0 deletions
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; };
};