From c795b2ee400106db70f1f3cd698234e77ffe2f82 Mon Sep 17 00:00:00 2001 From: Peter Tonner Date: Sat, 6 Jan 2024 14:59:00 -0500 Subject: [PATCH] misc: fix python packages option name --- modules/output.nix | 2 +- tests/test-sources/examples.nix | 2 +- wrappers/modules/output.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/output.nix b/modules/output.nix index f3e3da45..ae3f1f9d 100644 --- a/modules/output.nix +++ b/modules/output.nix @@ -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; [ ]"; diff --git a/tests/test-sources/examples.nix b/tests/test-sources/examples.nix index 3eaec295..74eaff73 100644 --- a/tests/test-sources/examples.nix +++ b/tests/test-sources/examples.nix @@ -2,7 +2,7 @@ plain = {}; python-packages = { - extraPythonPackages = p: + extraPython3Packages = p: with p; [ numpy ]; diff --git a/wrappers/modules/output.nix b/wrappers/modules/output.nix index e94f0b20..dd578e0d 100644 --- a/wrappers/modules/output.nix +++ b/wrappers/modules/output.nix @@ -102,7 +102,7 @@ in { neovimConfig = pkgs.neovimUtils.makeNeovimConfig ({ inherit (config) - extraPythonPackages + extraPython3Packages viAlias vimAlias ;