# reload when these files change watch_file flake.lock #watch_file flake.nix nix flake update; nix flake check; nix flake show #use flake .#default PATH_add result/bin #path_add PATH result/bin #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 SpineDOC=. #export SpineSRC= export SpineBIN=result/bin #export SpineDOC= export SpinePOD=$SpineDOC/markup/pod export SpineOUT=/srv/www/spine export SpineDBpath=/srv/www/spine/sqlite #export SpineDBpath=/var/www/sqlite export SpineSearchActionLocal='http://localhost/spine_search' export SpineSearchActionRemote='https://sisudoc.org/spine_search' export SpineCGIform='spine_search' export SpineSQLdb='spine.search.db' #export PROG_VER_DECLARED="`cat ./views/version.txt | grep --color=never "enum" | sed 's/.\+(\([0-9]\+\),[ \t]\+\([0-9]\+\),[ \t]\+\([0-9]\+\)[ \t]*).\+/\1.\2.\3/g'`" #direnv allow echo " nix build -v .#default --print-build-logs nix run .#default --print-build-logs nix shell .#default --print-build-logs --command spine -v nix develop --build .#default --print-build-logs "