about summary refs log tree commit diff
path: root/.envrc
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-07-02T15·40+0100
committerVincent Ambo <tazjin@google.com>2019-07-02T15·40+0100
commit892493a4788a9843b1b71848e58554e445658d31 (patch)
treef69e71ffabcc63647e9dab2831ae9162faeda38c /.envrc
parentc31a0b552b98cf297e3b7c90c63968faab0a1f49 (diff)
feat(tools): Add dispatcher script to transparently access tools r/12
Initial version of tool provider via Nix. This requires two separate
steps for adding a new tool:

1. New symlink in tools/bin to point at the dispatch script.
2. Mapping of tool to Nix package set attribute in dispatch script.
Diffstat (limited to '.envrc')
-rw-r--r--.envrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000000..76e30237cb
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,4 @@
+# Configure the local PATH to contain tools which are fetched ad-hoc
+# from Nix.
+
+export PATH="${PWD}/tools/bin:${PATH}"