nixvim icon indicating copy to clipboard operation
nixvim copied to clipboard

`plugins.*.package` should be nullable, to use package from system.

Open MattSturgeon opened this issue 1 year ago • 7 comments

Discussed in https://github.com/nix-community/nixvim/discussions/1969

Originally posted by niksingh710 August 2, 2024

  plugins = {
    ltex-extra = {
      enable = true;
      # This has been made null so that nvix uses system latex package and nix run becomes faster (no downloads for test or build)
      # vimplugin-ltex_extra.nvim
      package = null;
    };
    vimtex.enable = true;
  };

I am trying this to make ltex-extra use the ltex-extra package that is available in my system.

but this throws an error

error: A definition for option `plugins.ltex-extra.package' is not of type `package'. Definition values:
       - In `/nix/store/fdn1lw1j5wlmpqxixr92hy8nvx7igshf-lang/tex.nix': null

MattSturgeon avatar Aug 02 '24 13:08 MattSturgeon