shell.nix -> flake.nix #61

Merged
sb10q merged 3 commits from architeuthis/datasheets:nix-flake into master 2024-10-30 14:49:57 +08:00
1 changed files with 20 additions and 0 deletions
Showing only changes of commit 7cbf52e96b - Show all commits

20
README.md Normal file
View File

@ -0,0 +1,20 @@
# sinara-hw/datasheets
Repository for Sinara hardware datasheets.
## Build all
```shell
nix build .#all-pdfs
```
Output files will be in `result`.
### Build individual sheets
```shell
nix develop
make 1124
```
Output files will be in `build`. Run make twice in a row to get correct output for all LaTeX features, i.e. in particular correct "page x of y" footnotes, which require two passes of the compiler. (`#all-pdfs` already does this automatically). Auxiliary files and clutter can be removed with `make clean`.