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-local_16
1 files changed, 16 insertions, 0 deletions
diff --git a/.envrc-local_ b/.envrc-local_
index 76d499d..0c7d21f 100644
--- a/.envrc-local_
+++ b/.envrc-local_
@@ -1,3 +1,7 @@
+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
@@ -11,3 +15,15 @@ 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
+'