summaryrefslogtreecommitdiffhomepage
path: root/.envrc-local_
diff options
context:
space:
mode:
Diffstat (limited to '.envrc-local_')
-rw-r--r--.envrc-local_18
1 files changed, 11 insertions, 7 deletions
diff --git a/.envrc-local_ b/.envrc-local_
index ca7cb25..4e230a6 100644
--- a/.envrc-local_
+++ b/.envrc-local_
@@ -1,15 +1,19 @@
-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
+watch_file flake.lock
+watch_file flake.nix
+nix flake update; nix flake check; nix flake show
+#use flake .#default
+export NIX_PATH=/nix/var/nix/profiles/per-user/root/channels/nixos
+#export NIX_PATH=nixpkgs=/srv/nix/nixpkgs
+export DFLAGS="-O2 -inline -boundscheck=on -color=on"
## load the flake devShell
# eval "$(nix print-dev-env)"
# echo $NIX_BUILD_TOP
+export Date=`date "+%Y%m%d"`
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 SpinePROJ=~/grotto/repo/git.repo/projects/doc-reform/code/software/spine-search
+export SpineSRC=$SpinePROJ/src
+#export SpineBIN=$SpinePROJ/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