aboutsummaryrefslogtreecommitdiffhomepage
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix42
1 files changed, 40 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index a927b24..ab38273 100644
--- a/flake.nix
+++ b/flake.nix
@@ -81,8 +81,6 @@
libxml2
html-tidy
xmlstarlet
- epubcheck
- ebook_tools
libxml2
html-tidy
xmlstarlet
@@ -159,6 +157,46 @@
];
inherit shellHook;
};
+ dsh-build-spine-generate-samples-env-defaults = mkShell {
+ name = "spine-0.18.0 dev shell test build spine and generate samples env defaults";
+ inherit shell;
+ inherit devEnv;
+ packages = [
+ nix
+ sqlite
+ #chromium
+ #calibre #(suite includes: ebook-viewer)
+ ];
+ shellHook = ''
+ export DFLAGS="-O2 -boundscheck=on"
+ ## set local values in .envrc-local (or here if you must)
+ nix build ".#spine-overlay-ldc" --print-build-logs
+ #$SpineBIN -v --source --pod --epub --html --html-link-curate --html-link-markup --curate --output=$SpineOUT $SpinePOD/*
+ $SpineBIN --very-verbose --sqlite-db-recreate --sqlite-db-filename=$SpineSQLdb --sqlite-db-path=./_tmp-db
+ $SpineBIN --very-verbose --source --pod --epub --html --html-link-curate --html-link-markup --sqlite-update --sqlite-db-filename=$SpineSQLdb --sqlite-db-path=./_tmp-db --curate --output=$SpineOUT $SpinePOD/*
+ echo "./result/bin/spine -v --source --pod --epub --html --html-link-curate --html-link-markup --curate --output=$SpineOUT $SpinePOD/*"
+ '';
+ };
+ dsh-build-spine-generate-samples-test = mkShell {
+ name = "spine-0.18.0 dev shell test build spine and generate samples test";
+ inherit shell;
+ inherit devEnv;
+ packages = [
+ nix
+ sqlite
+ #chromium
+ #calibre #(suite includes: ebook-viewer)
+ ];
+ shellHook = ''
+ export DFLAGS="-O2 -boundscheck=on"
+ ## set local values in .envrc-local (or here if you must)
+ nix build ".#spine-overlay-ldc" --print-build-logs
+ #./result/bin/spine -v --source --pod --epub --html --html-link-curate --html-link-markup --curate --output=./OUTPUT_TEST_sisudocSpine ./markup/pod-samples/pod/*
+ ./result/bin/spine --very-verbose --sqlite-db-recreate --sqlite-db-filename=spine.search.db --sqlite-db-path=./_tmp-db
+ ./result/bin/spine --very-verbose --source --pod --epub --html --html-link-curate --html-link-markup --sqlite-update --sqlite-db-filename=spine.search.db --sqlite-db-path=./_tmp-db --curate --output=./OUTPUT_TEST_sisudocSpine ./markup/pod-samples/pod/*
+ echo "./result/bin/spine -v --source --pod --epub --html --html-link-curate --html-link-markup --curate --output=./OUTPUT_TEST_sisudocSpine ./markup/pod-samples/pod/*"
+ '';
+ };
default = import ./shell.nix {inherit pkgs;};
});
};