Files
cv/flake.nix
T
2025-09-11 15:07:43 +03:00

37 lines
811 B
Nix

{
#https://nix.dev/guides/recipes/python-environment.html
description = "Python development environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixpkgs-python.url = "github:cachix/nixpkgs-python";
};
outputs = { self, nixpkgs, nixpkgs-python }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
texPkgs = with pkgs.texlive; {
inherit (pkgs.texlive)
scheme-medium
latexmk
xetex
charter
soul
microtype
geometry
titlesec
enumitem
tex-gyre
fancyhdr;
};
in
{
devShells.${system}.default = pkgs.mkShell {
buildInputs = [(pkgs.texlive.combine texPkgs)];
};
};
}