summaryrefslogtreecommitdiff
path: root/.envrc
blob: 011073fc49a262e0cb9cfa3eeb01a32f28651a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
if ! has nix_direnv_version || ! nix_direnv_version 1.5.1; then
  source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.5.1/direnvrc" "sha256-p4CDMJjuBmEh9pkn2aoJrZqr0DlPZHPU7eXOSDzzcuo="
fi

use nix

export BIZ_ROOT=$PWD

PATH_add $BIZ_ROOT/Biz/Ide

# for some reason I need this to get ':e' in ghci to load my vimrc
export EDITOR=vim
export GUILE_LOAD_PATH=$BIZ_ROOT

# Biz/Devalloc.hs:
export GITHUB_CLIENT_ID=aa575dc96263bc99556d
export GITHUB_CLIENT_STATE=$(cat /proc/sys/kernel/random/uuid)
export STRIPE_PUBKEY=pk_test_51I3jv1IC3f10BNLClrBmNr485mWSzQkITvjO0MmSeFn4chFqmODJaHcI7IiN1sqSJYusmRhuPzeGTbCrl8dMsSQP00JXUmlVFC

if type lorri &>/dev/null
then
    eval "$(lorri direnv)"
fi

. ./.envrc.local