misc: fix python packages option name

This commit is contained in:
Peter Tonner 2024-01-06 14:59:00 -05:00 committed by Gaétan Lepage
parent d52f656a8b
commit c795b2ee40
3 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ in {
description = "Extra packages to be made available to neovim"; description = "Extra packages to be made available to neovim";
}; };
extraPythonPackages = mkOption { extraPython3Packages = mkOption {
type = with types; functionTo (listOf package); type = with types; functionTo (listOf package);
default = p: []; default = p: [];
defaultText = literalExpression "p: with p; [ ]"; defaultText = literalExpression "p: with p; [ ]";

View file

@ -2,7 +2,7 @@
plain = {}; plain = {};
python-packages = { python-packages = {
extraPythonPackages = p: extraPython3Packages = p:
with p; [ with p; [
numpy numpy
]; ];

View file

@ -102,7 +102,7 @@ in {
neovimConfig = pkgs.neovimUtils.makeNeovimConfig ({ neovimConfig = pkgs.neovimUtils.makeNeovimConfig ({
inherit inherit
(config) (config)
extraPythonPackages extraPython3Packages
viAlias viAlias
vimAlias vimAlias
; ;