aboutsummaryrefslogtreecommitdiffhomepage
path: root/.envrc-local
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2023-06-23 18:58:56 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2023-06-23 19:03:49 -0400
commiteff4a98d150ac52e90e77c43b9ec755777882bba (patch)
tree09f21e96f9e55b40d4749959bd396858e42f4a1f /.envrc-local
parentnix dev + update direnv 2.2.1 => 2.3.0 (diff)
nix flake, overlays from spine
Diffstat (limited to '.envrc-local')
-rw-r--r--.envrc-local29
1 files changed, 29 insertions, 0 deletions
diff --git a/.envrc-local b/.envrc-local
new file mode 100644
index 0000000..0c7d21f
--- /dev/null
+++ b/.envrc-local
@@ -0,0 +1,29 @@
+if [[ ! -d ./.git ]]; then
+ git init
+ git add .
+fi
+export DFLAGS="-O2 -inline -boundscheck=on -color=on"
+export SpineBIN=result/bin
+export SpinePROJ=~/grotto/repo/git.repo/projects/doc-reform/code/software/spine
+export SpineDOC=.
+export SpinePOD=${SpineDOC}/markup/pod
+export SpineOUT=/srv/www/spine
+export SpineSearchActionLocal='http://localhost/spine_search'
+export SpineSearchActionRemote='https://sisudoc.org/spine_search'
+export SpineCGIform='spine_search'
+export SpineSQLdb='spine.search.db'
+export SpineCGIbin=/var/www/cgi/cgi-bin
+export SpineDBpath=/var/www/sqlite
+#export SpineDBpath=/srv/www/spine/sqlite
+echo '
+ .envrc-local echo ❯❯
+
+ ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c zsh
+
+ ❯❯ nix develop
+ ❯❯ nix develop -c zsh
+ ❯❯ nix develop ".#dsh-overlay-ldc" --print-build-logs
+
+ ❯❯ nix build
+ ❯❯ nix build ".#default" --print-build-logs
+'