summaryrefslogtreecommitdiffhomepage
path: root/.envrc-local_
diff options
context:
space:
mode:
Diffstat (limited to '.envrc-local_')
-rw-r--r--.envrc-local_18
1 files changed, 18 insertions, 0 deletions
diff --git a/.envrc-local_ b/.envrc-local_
new file mode 100644
index 0000000..ca7cb25
--- /dev/null
+++ b/.envrc-local_
@@ -0,0 +1,18 @@
+export NIX_PATH=/nix/var/nix/profiles/per-user/root/channels/nixos
+#export NIX_PATH=nixpkgs=/nixpkgs-ra/nixpkgs
+# reload when these files change
+# watch_file flake.nix
+# watch_file flake.lock
+## load the flake devShell
+# eval "$(nix print-dev-env)"
+# echo $NIX_BUILD_TOP
+export SpineVER=$(git describe --long --tags | sed 's/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g')
+export SpinePROJ=~/grotto/repo/git.repo/projects/project-spine/doc-reform
+export SpineSRC=~/grotto/repo/git.repo/projects/project-spine/doc-reform/src
+export SpineBIN=~/grotto/repo/git.repo/projects/project-spine/doc-reform/result/bin
+export SpineDOC=~/grotto/repo/git.repo/projects/project-spine/doc-reform-markup/spine-markup-samples
+export SpinePOD=$SpineDOC/markup/pod
+#export SpineOUTversioned=/srv/www/spine/$SpineVER
+export SpineOUT=/srv/www/spine
+export SpineDBpath=/var/www/sqlite
+export SpineCgiBIN=/var/www/cgi/cgi-bin