mirror of
https://github.com/thufschmitt/tix-papers.git
synced 2024-09-11 13:00:34 +03:00
23 lines
450 B
Nix
23 lines
450 B
Nix
{
|
|
nixpkgs ? <nixpkgs>, system ? builtins.currentSystem
|
|
}:
|
|
with import nixpkgs { inherit system; };
|
|
stdenv.mkDerivation rec {
|
|
name = "papers";
|
|
version = "0.0";
|
|
buildInputs = [
|
|
(texlive.combine {
|
|
inherit (texlive) scheme-medium syntax todo;
|
|
})
|
|
];
|
|
|
|
src = ./.;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/nix-support
|
|
cp out/main.pdf $out/
|
|
echo "file pdf $out/main.pdf" >> $out/nix-support/hydra-build-products
|
|
'';
|
|
}
|
|
|