Skip to content

Commit

Permalink
misc: fix python packages option name
Browse files Browse the repository at this point in the history
  • Loading branch information
ptonner authored and GaetanLepage committed Jan 6, 2024
1 parent d52f656 commit c795b2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/output.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ in {
description = "Extra packages to be made available to neovim";
};

extraPythonPackages = mkOption {
extraPython3Packages = mkOption {
type = with types; functionTo (listOf package);
default = p: [];
defaultText = literalExpression "p: with p; [ ]";
Expand Down
2 changes: 1 addition & 1 deletion tests/test-sources/examples.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
plain = {};

python-packages = {
extraPythonPackages = p:
extraPython3Packages = p:
with p; [
numpy
];
Expand Down
2 changes: 1 addition & 1 deletion wrappers/modules/output.nix
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ in {
neovimConfig = pkgs.neovimUtils.makeNeovimConfig ({
inherit
(config)
extraPythonPackages
extraPython3Packages
viAlias
vimAlias
;
Expand Down

0 comments on commit c795b2e

Please sign in to comment.