mirror of
https://github.com/thufschmitt/tix-papers.git
synced 2024-10-05 17:17:55 +03:00
1114b37de6
Also takes care of declaring hydra products for download
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
|
|
'';
|
|
}
|
|
|