From 5fb2d57754e67a1fe35d320e933a20b86944be9c Mon Sep 17 00:00:00 2001 From: foosinn Date: Tue, 5 Jan 2021 12:47:51 +0100 Subject: [PATCH] fix python environment --- roles/dev.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/roles/dev.nix b/roles/dev.nix index 38bd76c..1b7b2ac 100644 --- a/roles/dev.nix +++ b/roles/dev.nix @@ -3,20 +3,24 @@ let unstable = import {}; in { + environment.systemPackages = with pkgs; [ gnumake go - python38 - python38Packages.pyls-black - python38Packages.pyls-isort - python38Packages.pyls-mypy - python38Packages.python-language-server - python38Packages.requests rustup unstable.golangci-lint unstable.gopls unstable.rust-analyzer + (python38.withPackages(python-packages: with python-packages; [ + pyls-black + pyls-isort + pyls-mypy + python-language-server + pyyaml + requests + ])) + emacs ltrace sops