Add some devShells
This commit is contained in:
parent
dae601873c
commit
299c0f0465
23
flake.nix
23
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
|
||||
]))
|
||||
];
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue