-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdefault.nix
36 lines (33 loc) · 1023 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ pkgs ? import (import ./nixpkgs.nix) {}
}:
with pkgs;
stdenv.mkDerivation {
name = "lineaire_algebra_oplossingen";
buildInputs = [ (texlive.combine {
inherit
(texlive)
scheme-basic
latexmk
babel-dutch
subfiles
float
pdfpages
mdwtools # footnote.sty
pgf # tikz.sty
xcolor
mdframed
l3kernel # xparse.sty
l3packages # xparse.sty
etoolbox
needspace
;
})
];
src = ./.;
phases = "unpackPhase buildPhase";
buildPhase = ''
latexmk -pdf lineaire_algebra_oplossingen.tex
mkdir -p $out
cp -r lineaire_algebra_oplossingen.pdf $out/lineaire_algebra_oplossingen.pdf
'';
}