aboutsummaryrefslogtreecommitdiffhomepage
path: root/shell.nix
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-04-07 00:18:26 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-04-07 00:18:26 -0400
commit5a10ef80aa457078075ef55254ffc5264e6875b3 (patch)
treeb284aafb8c4d48802cb09a879cefa93d40941fb4 /shell.nix
parentlatex minor improvements and fixes, require testing (diff)
nix cleanup flake.nix and shell.nix
Diffstat (limited to 'shell.nix')
-rwxr-xr-xshell.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/shell.nix b/shell.nix
index 61acfc4..1974340 100755
--- a/shell.nix
+++ b/shell.nix
@@ -18,7 +18,7 @@ with pkgs-nix;
git
# ❯❯❯ dev
gnumake
- ps
+ #ps
# ❯❯❯ d_build_related
# ❯❯ package manager
#dub
@@ -56,5 +56,12 @@ with pkgs-nix;
# openssl_3_3
];
shellHook = ''
+ echo '❯❯ nix build';
+ SpineGitVer=`git describe | sed "s/^[a-z_-]\+\([0-9.]\+\)/\1/" | sed "s/\([^-]*-g\)/r\1/" | sed "s/-/./g"` && \
+ SpineGitBranch=`git branch --show-current` && \
+ echo "❯❯ spine - ($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';
'';
}