parent
96a1e782a6
commit
ebdd896017
|
@ -97,7 +97,9 @@ pkgs.stdenv.mkDerivation {
|
||||||
|
|
||||||
cp -r $dst/images $dst/epub/OEBPS
|
cp -r $dst/images $dst/epub/OEBPS
|
||||||
echo "application/epub+zip" > mimetype
|
echo "application/epub+zip" > mimetype
|
||||||
zip -0Xq "$dst/Nixpkgs Contributors Guide - NixOS community.epub" mimetype
|
manual="$dst/nixpkgs-manual.epub"
|
||||||
zip -Xr9D "$dst/Nixpkgs Contributors Guide - NixOS community.epub" $dst/epub/*
|
zip -0Xq "$manual" mimetype
|
||||||
|
cd $dst/epub && zip -Xr9D "$manual" *
|
||||||
|
rm -rf $dst/epub
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue