This repository has been archived on 2024-01-28. You can view files and clone it, but cannot push or open issues/pull-requests.
2020-10-03 14:56:13 +02:00
|
|
|
let
|
2021-04-22 15:44:48 +02:00
|
|
|
sources = import ./nix/sources.nix;
|
|
|
|
pkgs = import sources.nixpkgs {};
|
2020-10-10 15:08:58 +02:00
|
|
|
|
2021-04-22 15:44:48 +02:00
|
|
|
inherit (import sources.gitignore { inherit (pkgs) lib; }) gitignoreSource;
|
2020-10-10 15:08:58 +02:00
|
|
|
|
2020-10-03 14:56:13 +02:00
|
|
|
texlive = pkgs.texlive.combine {
|
2020-10-03 15:31:24 +02:00
|
|
|
inherit (pkgs.texlive) scheme-small
|
2020-10-03 14:56:13 +02:00
|
|
|
biber
|
|
|
|
biblatex
|
|
|
|
csquotes
|
|
|
|
datetime2
|
|
|
|
datetime2-german
|
2021-04-22 15:36:26 +02:00
|
|
|
geschichtsfrkl
|
2020-10-03 15:31:24 +02:00
|
|
|
latexmk
|
|
|
|
lipsum
|
2021-04-22 15:36:26 +02:00
|
|
|
setspace
|
2020-10-03 15:31:24 +02:00
|
|
|
tracklang;
|
2020-10-03 14:56:13 +02:00
|
|
|
};
|
|
|
|
in
|
|
|
|
pkgs.stdenv.mkDerivation {
|
|
|
|
name = "seminararbeit.pdf";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
texlive
|
|
|
|
];
|
|
|
|
|
2020-10-10 15:08:58 +02:00
|
|
|
src = gitignoreSource ./.;
|
2020-10-03 14:56:13 +02:00
|
|
|
|
|
|
|
# We only build a PDF
|
|
|
|
dontFixup = true;
|
|
|
|
|
|
|
|
installPhase = "cp $name $out";
|
|
|
|
}
|