ninja: support cross compilation

This commit is contained in:
Orivej Desh 2018-06-03 22:42:52 +00:00
parent 41c8b92d4f
commit 33ed2af2a7

View File

@ -15,7 +15,9 @@ stdenv.mkDerivation rec {
buildPhase = ''
python configure.py --bootstrap
./ninja manual
# "./ninja -vn manual" output copied here to support cross compilation.
asciidoc -b docbook -d book -o build/manual.xml doc/manual.asciidoc
xsltproc --nonet doc/docbook.xsl build/manual.xml > doc/manual.html
'';
installPhase = ''