From 9068cd341b36f61253bdfdde5ce9291234c7771c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Wed, 31 Aug 2022 20:02:08 +0200 Subject: [PATCH] :bug: fix python module --- modules/programs/python.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/python.nix b/modules/programs/python.nix index c5b7c53..39fd7f2 100644 --- a/modules/programs/python.nix +++ b/modules/programs/python.nix @@ -15,7 +15,7 @@ in default = [ "python310" ]; type = with types; listOf str; example = [ "python39" ]; - apply = versions: builtins.map (version: prev.${version}.withPackages (packages: with packages; [ black pyflakes isort nose pytest python-lsp-server ])); + apply = builtins.map (version: pkgs.${version}.withPackages (packages: with packages; [ black pyflakes isort nose pytest python-lsp-server ])); }; };