Skip to content

Commit

Permalink
docs: don't run latex image build from nix build
Browse files Browse the repository at this point in the history
It is run from mbook build as a preprocessor to be also run during
`mdbook serve docs` on each input change.
  • Loading branch information
igordejanovic committed Jun 4, 2024
1 parent 00b7b4e commit f53e350
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ let
inherit buildInputs;

buildPhase = ''
cd docs
./build-latex-images.sh
mdbook build
mdbook build docs
'';
installPhase = ''
mv book $out
mv docs/book $out
'';
};
in
Expand Down

0 comments on commit f53e350

Please sign in to comment.