Update Nix expression and add README.

This commit is contained in:
Danila Fedorin 2020-05-29 02:38:38 -07:00
parent 09d374d0ca
commit 4b2fe7a039
2 changed files with 34 additions and 2 deletions

26
README.md Normal file
View File

@ -0,0 +1,26 @@
# Final Report
This is a huge document that is a combination of a large number
of other files from this course.
This repository avoids commiting PDFs whenever possible (some files'
original sources have been lost, and thus, only a PDF is available).
Thus, LaTeX sources of all possible documents are submoduled,
and compiled at build time.
Some components of this document are generated from previously
commited Markdown files to avoid redundancy. In particular,
READMEs from all the code repositories and the REVIEW files
containing code review feedback are used.
For the most part (you still need to clone submodules),
I specified the dependencies of this project in a Nix expression.
Thus, to build this whole PDF:
```
nix-shell
make
```
This should install all the required LaTeX packages and Pandoc,
and generate an `archive.pdf` file.

View File

@ -3,8 +3,14 @@ with import <nixpkgs> {};
mkShell { mkShell {
buildInputs = [ buildInputs = [
pandoc pandoc
(python38.withPackages (ps: with ps; [ pip virtualenv ])) (texlive.combine {
(texlive.combine { inherit (texlive) listings framed booktabs pdfjam pdfpages pdflscape scheme-basic IEEEtran collection-fontsrecommended todonotes caption pgfgantt setspace; }) inherit (texlive)
listings framed booktabs
pdfjam pdfpages pdflscape
scheme-basic IEEEtran
collection-fontsrecommended
todonotes caption pgfgantt
setspace; })
]; ];
} }