blob: 121cc134de18522df7e456805c4772628249028b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
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)"
|