about summary refs log tree commit diff
path: root/monzo_ynab/.envrc
diff options
context:
space:
mode:
Diffstat (limited to 'monzo_ynab/.envrc')
-rw-r--r--monzo_ynab/.envrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/monzo_ynab/.envrc b/monzo_ynab/.envrc
index 265077343800..121cc134de18 100644
--- a/monzo_ynab/.envrc
+++ b/monzo_ynab/.envrc
@@ -1,5 +1,10 @@
 # source_up traversing up directories until it finds the nearest .envrc file,
 # which it uses to extend the environment in this .envrc.
+#
+# Since ../.envrc calls `eval "$(lorri direnv)"`, the buildInputs and variables
+# definitions inside of the attribute set passed to pkgs.mkShell become
+# available here as well.
 source_up
 export client_id="$(pass show finance/monzo/client-id)"
 export client_secret="$(pass show finance/monzo/client-secret)"
+eval "$(lorri direnv)"