From c5755e33cd23036392f9dc7d2587fa2623f656e3 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 18 Apr 2023 16:06:27 +0200 Subject: Build(flake): Enable direnv integration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Direnv](https://github.com/direnv/direnv) in combination with [Nix integration](https://github.com/direnv/direnv/wiki/Nix) — in this case [Nix-direnv](https://github.com/nix-community/nix-direnv) — allows for reliable build environments (and some uncluttering of the PATH). Setting it up is rather easy, just see [Nix-direnv's install instructions](https://github.com/nix-community/nix-direnv#installation). --- .envrc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .envrc (limited to '.envrc') diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..a9c7e4e --- /dev/null +++ b/.envrc @@ -0,0 +1,5 @@ +use flake +if on_git_branch; then + echo && git status --short --branch && + echo && git fetch --verbose +fi -- cgit 1.4.1