From e62457cdb4840f04626a11c8a0787a4af4681747 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 24 Jun 2023 15:15:38 +0200 Subject: [PATCH] simplify shell --- shell.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/shell.nix b/shell.nix index d4b2da7..6c39d11 100644 --- a/shell.nix +++ b/shell.nix @@ -9,12 +9,13 @@ pkgs.mkShell { sass libxslt nim - ] ++ (with python3Packages; [ - libxml2 - rich - httpx - typer - # dev-only - python-lsp-server - ]); + (python3.withPackages (ps: with ps; [ + libxml2 + rich + httpx + typer + # dev-only + python-lsp-server + ])) + ]; }