From 2297a4940ed55c1e8425f47cf54734818e9ea5b3 Mon Sep 17 00:00:00 2001 From: Vika Date: Sat, 29 Jul 2023 20:25:09 +0300 Subject: .envrc: move to root --- .envrc | 8 ++++++++ kittybox-rs/.envrc | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 .envrc delete mode 100644 kittybox-rs/.envrc diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..9ae9b76 --- /dev/null +++ b/.envrc @@ -0,0 +1,8 @@ +if has nix; then + if ! has nix_direnv_version || ! nix_direnv_version 2.1.1; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" \ + "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0=" + fi + nix_direnv_watch_file ./shell.nix + use flake . +fi diff --git a/kittybox-rs/.envrc b/kittybox-rs/.envrc deleted file mode 100644 index a3511a2..0000000 --- a/kittybox-rs/.envrc +++ /dev/null @@ -1,8 +0,0 @@ -if has nix; then - if ! has nix_direnv_version || ! nix_direnv_version 2.1.1; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" \ - "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0=" - fi - nix_direnv_watch_file ../shell.nix - use flake .. -fi -- cgit 1.4.1