Add installphase for hydra builds

Also takes care of declaring hydra products for download
This commit is contained in:
regnat 2017-05-12 16:29:37 +02:00
parent 418a125a23
commit 1114b37de6

View File

@ -12,5 +12,11 @@ stdenv.mkDerivation rec {
];
src = ./.;
installPhase = ''
mkdir -p $out/nix-support
cp out/main.pdf $out/
echo "file pdf $out/main.pdf" >> $out/nix-support/hydra-build-products
'';
}