From f4a280dc6a869c540975b697f614c5172007d7a2 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 13 May 2024 15:47:09 -0400 Subject: nix flake and envrc related --- .envrc-local | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to '.envrc-local') diff --git a/.envrc-local b/.envrc-local index 0c7d21f..74e98e0 100644 --- a/.envrc-local +++ b/.envrc-local @@ -1,29 +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 SpineBIN=./result/bin/spine +# ❯❯ nix builds spine binary: +#export SpineBIN=./result/bin/spine +# ❯❯ if from ../sisudoc-spine on directory tree nix build +#export SpineBIN=../sisudoc-spine/result/bin/spine +# ❯❯ dub builds spine binary (name depends on build, check): +#export SpineBIN=../sisudoc-spine/bin/spine +#export SpineBIN=../sisudoc-spine/bin/spine-ldc +#export SpineBIN=../sisudoc-spine/bin/spine-dmd +# ❯❯ location of source files: export SpineDOC=. +# ❯❯ location of source files pod: export SpinePOD=${SpineDOC}/markup/pod -export SpineOUT=/srv/www/spine +# ❯❯ sisudoc-spine output processing path: +export SpineOUT=./OUTPUT_TEST_sisudocSpine +# ❯❯ sisudoc-spine output processing path (web server e.g.): +#export SpineOUT=/srv/www/spine +# ❯❯ path configured for cgi search form: export SpineSearchActionLocal='http://localhost/spine_search' export SpineSearchActionRemote='https://sisudoc.org/spine_search' +# ❯❯ cgi search form name: export SpineCGIform='spine_search' +# ❯❯ search form db name: export SpineSQLdb='spine.search.db' +# ❯❯ configuration cgi search form path: export SpineCGIbin=/var/www/cgi/cgi-bin +# ❯❯ configuration db path: 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 -' -- cgit v1.2.3