From eff4a98d150ac52e90e77c43b9ec755777882bba Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 23 Jun 2023 18:58:56 -0400 Subject: nix flake, overlays from spine --- .envrc-local | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .envrc-local (limited to '.envrc-local') 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 +' -- cgit v1.2.3