diff --git a/release.nix b/release.nix index 50607ba5..3f7de214 100644 --- a/release.nix +++ b/release.nix @@ -48,6 +48,12 @@ let stripHash ${bzip2.src} cp -pv ${bzip2.src} externals/$strippedName ''; + + preDist = '' + make -C doc/manual install prefix=$out + echo "doc manual $out/share/doc/nix/manual" >> $out/nix-support/hydra-build-products + echo "doc release-notes $out/share/doc/nix/release-notes" >> $out/nix-support/hydra-build-products + ''; }; @@ -68,11 +74,6 @@ let --disable-init-state --with-bdb=${db45} --with-aterm=${aterm242fixes} --with-bzip2=${bzip2} ''; - - postInstall = '' - echo "doc manual $out/share/doc/nix/manual" >> $out/nix-support/hydra-build-products - echo "doc release-notes $out/share/doc/nix/release-notes" >> $out/nix-support/hydra-build-products - ''; };