diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-12-19 21:27:17 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-12-31 21:55:43 -0500 |
commit | da6f5d079e01906fb5dc558390659557a869df8f (patch) | |
tree | 35b99248cf1ba78b52474bea960f92984ff721c7 /.envrc-local_ | |
parent | sort how you want this to be (diff) |
nix flake, things nix
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 |