diff --git a/modules/nixvim/dev-plugins.nix b/modules/nixvim/dev-plugins.nix index b7553d7..4a4ff8a 100644 --- a/modules/nixvim/dev-plugins.nix +++ b/modules/nixvim/dev-plugins.nix @@ -2,11 +2,10 @@ lib, pkgs, config, + helpers, ... }: let - helpers = if lib.hasAttrByPath [ "lib" "nixvim" ] config then config.lib.nixvim else lib.nixvim; - inherit (helpers) enableExceptInTests; inherit (lib.trivial) const; cfg = config.jhome.nvim; @@ -139,7 +138,7 @@ in { extraPackages = [ (pkgs.python3.withPackages (p: [ p.jupytext ])) ]; plugins = { - image.enable = lib.mkForce enableExceptInTests; + image.enable = enableExceptInTests; jupytext = { enable = true; settings.custom_language_formatting.python = {