Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/7241bcbb4f099a66aafca120d37c65e8dda32717?narHash=sha256-Yg7Ag7ov5%2B36jEFC1DaZh/12SEXo6OO3/8rqADRxiqs%3D' (2025-11-03)
→ 'github:NixOS/nixpkgs/419fe0f449b3fbe3bdd53d9840288db4509ec32e?narHash=sha256-Avcz96Q%2B8OkfUIUXipBBVsQn19L622BtKP7mk6M%2Buls%3D' (2026-09-28)
43 lines
923 B
Nix
43 lines
923 B
Nix
{
|
|
description = "LaTeX Flake";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
outputs = { self, nixpkgs, flake-utils}:
|
|
flake-utils.lib.eachDefaultSystem
|
|
(system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
|
|
watchLatex = pkgs.writeShellApplication {
|
|
name = "watch-latex";
|
|
text = ''
|
|
latexmk -pdf -pdflatex='pdflatex -interaction=nonstopmode' -pvc -view=none
|
|
'';
|
|
};
|
|
in {
|
|
devShells.default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
texliveFull
|
|
pgfplots
|
|
biber
|
|
|
|
gnumake
|
|
latexminted
|
|
|
|
watchLatex
|
|
|
|
# Presentation tools
|
|
pdfpc
|
|
pympress
|
|
|
|
# Editor
|
|
texstudio
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|