aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/config_nix.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/config_nix.org')
-rw-r--r--org/config_nix.org28
1 files changed, 27 insertions, 1 deletions
diff --git a/org/config_nix.org b/org/config_nix.org
index 9454cb3..d7e0e92 100644
--- a/org/config_nix.org
+++ b/org/config_nix.org
@@ -66,6 +66,7 @@
runHook postInstall
'';
postInstall = ''
+ echo "❯❯ ./result/bin/spine -v --source --pod --text --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=./OUTPUT_TEST_sisudocSpine ../sisu-spine-samples/markup/pod/*";
echo `ls -la $out/bin/spine`
$out/bin/spine -v
'';
@@ -233,7 +234,14 @@
shellHook = ''
export Date=`date "+%Y%m%d"`
## set local values in .envrc-local (or here if you must)
- echo " ❯❯ ./result/bin/spine -v --source --pod --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=./OUTPUT_TEST_sisudocSpine ../sisu-spine-samples/markup/pod/*";
+ echo '❯❯ nix build';
+ SpineProjVer=`rg "Version\((\d+), (\d+), (\d+)\)" views/version.txt | sed -E 's/.*([0-9]+), ([0-9]+), ([0-9]+).*/spine-v\1.\2.\3/'` && \
+ SpineGitVer=`git describe | sed "s/^[a-z_-]\+\([0-9.]\+\)/\1/" | sed "s/\([^-]*-g\)/r\1/" | sed "s/-/./g"` && \
+ SpineGitBranch=`git branch --show-current` && \
+ echo "❯❯ $SpineProjVer - ($SpineGitBranch: $SpineGitVer)"
+ echo '❯❯ $SpineBIN -v --source --pod --text --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=$SpineOUT $SpinePOD/*';
+ echo "❯❯ $SpineBIN -v --source --pod --text --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=$SpineOUT $SpinePOD/*";
+ echo '❯❯ nix flake update && nix flake check && nix flake show';
'';
in
with pkgs-nix; {
@@ -248,6 +256,8 @@
dtools
gnumake
sqlite
+ gnused
+ ripgrep
];
inherit shellHook;
};
@@ -261,6 +271,8 @@
dtools
gnumake
sqlite
+ gnused
+ ripgrep
];
inherit shellHook;
};
@@ -274,6 +286,8 @@
dtools
gnumake
sqlite
+ gnused
+ ripgrep
];
inherit shellHook;
};
@@ -287,6 +301,8 @@
dtools
gnumake
sqlite
+ gnused
+ ripgrep
];
inherit shellHook;
};
@@ -329,6 +345,8 @@
calibre #(suite includes: ebook-viewer)
koreader
foliate
+ gnused
+ ripgrep
];
inherit shellHook;
};
@@ -350,6 +368,8 @@
w3m
# ❯❯ light graphical
#dillo
+ gnused
+ ripgrep
];
inherit shellHook;
};
@@ -367,6 +387,8 @@
source-serif-pro
source-code-pro
texlive.combined.scheme-full
+ gnused
+ ripgrep
];
inherit shellHook;
};
@@ -381,6 +403,8 @@
dtools
gnumake
sqlite
+ gnused
+ ripgrep
];
inherit shellHook;
};
@@ -396,6 +420,8 @@
gnumake
sqlite
perl538Packages.Po4a
+ gnused
+ ripgrep
];
inherit shellHook;
};