From 5334f48a7be29fa85266ca4bdc8cf427eca88ff0 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 9 Feb 2023 21:41:51 -0500 Subject: nixify, enable nix install sisu for use here - enable nix install sisu for use on document samples --- .envrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .envrc (limited to '.envrc') diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..f053b70 --- /dev/null +++ b/.envrc @@ -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 -- cgit v1.2.3