diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2023-02-09 21:41:51 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2023-02-09 21:57:51 -0500 |
commit | 5334f48a7be29fa85266ca4bdc8cf427eca88ff0 (patch) | |
tree | bc4fc2b34be591636bd2d877b85b9870bacabf21 /.envrc | |
parent | CHANGELOG changes (diff) |
nixify, enable nix install sisu for use here
- enable nix install sisu for use on document
samples
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +use flake . +#use flake .#default +NIX_ENFORCE_PURITY=1 +NixDirEnvVersion="2.2.1" +if ! has nix_direnv_version || ! nix_direnv_version ${NixDirEnvVersion}; then +# - https://github.com/nix-community/nix-direnv +# source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-0000000000000000000000000000000000000000000=" + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs=" +fi +watch_file flake.lock +watch_file flake.nix +if [ -f .envrc-local ]; then + source_env_if_exists .envrc-local || source .envrc-local +fi +#nix flake update && nix flake check --show-trace && nix flake show |