This is a demo of how to use Nix to start writing documents in LaTeX.
- Install Nix or NixOS. (On Debian/Ubuntu systems I prefer to to
apt install nix-bin.) - Clone this repository.
- Run "nix-build -o shell" to install a basic LaTeX environment (it will take a while to download/build everything).
- Run "./shell" to enter the environment.
Now, you can type make to build everything or something like
make output/hello.pdf
to build a specific document.
(Note: if you have make installed on your system, you can run make shell in step 3 and skip step 4 entirely.)