From d424aaa4a1f8da55ee98b65b61b0709a1896ec83 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 18 Apr 2023 22:06:44 +0100 Subject: [PATCH] templates: c++-meson: add '.envrc' This was ignored when I added the initial commit. --- templates/c++-meson/.envrc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 templates/c++-meson/.envrc diff --git a/templates/c++-meson/.envrc b/templates/c++-meson/.envrc new file mode 100644 index 0000000..95ed6fb --- /dev/null +++ b/templates/c++-meson/.envrc @@ -0,0 +1,10 @@ +if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs=" +fi + +use flake + +watch_file ./flake/checks.nix +watch_file ./flake/dev-shells.nix + +eval "$shellHooks"