From 06674381502268b9bed6a23d36186542522a3e2e Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 2 Apr 2024 17:27:56 +0100 Subject: [PATCH] Add back scripting languages commonly used Restore python (with pylsp) and JS, remove gfortran from default installed programming languages. Figured I would want scripting languages on the fly but compiled languages will be focussed on a project, so no issue having a nix-shell env. --- home/prog/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/home/prog/default.nix b/home/prog/default.nix index 6b3437b0..2f681f44 100644 --- a/home/prog/default.nix +++ b/home/prog/default.nix @@ -12,18 +12,23 @@ # Shell shfmt shellcheck + nodePackages.prettier # Lua - (luajit.withPackages (ps: [(ps.callPackage ./luarocks/scilua.nix {})])) + (luajit.withPackages + (ps: [(ps.callPackage ./luarocks/scilua.nix {})])) luarocks-nix lua-language-server stylua # Python + (python3.withPackages + (ps: with ps; [python-lsp-server mypy isort])) ruff - # Fortran - gfortran - fortls + # JavaScript / TypeScript + nodejs + nodePackages.typescript-language-server + nodePackages.eslint ]; }