From 03ce3d38826f3d2477604b29cb0ebdb0bf2bb8f8 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 6 May 2020 11:56:32 -0400 Subject: [PATCH] less verbose build --- book/default.nix | 9 ++++----- book/src/intro/ebook.md | 6 +++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/book/default.nix b/book/default.nix index 21a3dd6..3da5f08 100644 --- a/book/default.nix +++ b/book/default.nix @@ -20,23 +20,22 @@ let ]; buildPhase = '' - cp -vrf $src/src . - cp -vrf $src/book.toml . + cp -rf $src/src . + cp -rf $src/book.toml . mkdir book mdbook build - ls -la ./book cd ./src && ./build.sh && cd .. cd ./book && kindlegen lewa.epub ||: && cd .. ''; installPhase = '' mkdir -p $out - cp -vrf book $out/book + cp -rf book $out/book ''; }; in pkgs.dockerTools.buildLayeredImage { name = "xena/lewa-book"; tag = version; - contents = [ book nur.repos.xe.quickserv ]; + contents = [ nur.repos.xe.quickserv book ]; config.Cmd = [ "/bin/quickserv" "-port=9001" "-dir=/book" ]; } diff --git a/book/src/intro/ebook.md b/book/src/intro/ebook.md index 2c50e8e..fc93e8d 100644 --- a/book/src/intro/ebook.md +++ b/book/src/intro/ebook.md @@ -2,6 +2,6 @@ The following is the eBook edition of L'ewa: A Personal Language. -- [ePub (iBooks)](./lewa.epub) -- [Kindle](./lewa.mobi) -- [PDF](./lewa.pdf) +- [ePub (iBooks)](../lewa.epub) +- [Kindle](../lewa.mobi) +- [PDF](../lewa.pdf)