From 299c0f0465378d3c8ceb145877be0f2ad06ee907 Mon Sep 17 00:00:00 2001 From: Daan Vanoverloop Date: Sun, 2 Jul 2023 18:12:42 +0200 Subject: [PATCH] Add some devShells --- flake.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/flake.nix b/flake.nix index e3a3dcc..af80991 100644 --- a/flake.nix +++ b/flake.nix @@ -39,6 +39,29 @@ rustToolchain ]); }; + + latex = pkgs.mkShell { + packages = (with pkgs; [ + texlive.combined.scheme-full + + tectonic + ]); + }; + + python = + let + # Use Python 3.11 + python = pkgs.python311; + in + pkgs.mkShell { + # The Nix packages provided in the environment + packages = [ + # Python plus helper tools + (python.withPackages (ps: with ps; [ + pip # The pip installer + ])) + ]; + }; }); }; }