# setup dev environment using direnv # 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 # # if direnv doesn't detect changes to the nix environment, just touch .envrc and # it will refresh use nix # export BIZ_ROOT=$PWD # # scripts for editing go here PATH_add $BIZ_ROOT/Biz/Ide # # bild outputs go here PATH_add $BIZ_ROOT/_/bin # # Biz/Dragons.hs: export GITHUB_CLIENT_ID=aa575dc96263bc99556d export GITHUB_CLIENT_STATE=$(cat /proc/sys/kernel/random/uuid) export STRIPE_PUBKEY=pk_test_51I3jv1IC3f10BNLClrBmNr485mWSzQkITvjO0MmSeFn4chFqmODJaHcI7IiN1sqSJYusmRhuPzeGTbCrl8dMsSQP00JXUmlVFC # # run lorri if its available if type lorri &>/dev/null then eval "$(lorri direnv)" fi # # configure git hooks git config --local core.hooksPath "$BIZ_ROOT/Biz/Ide/hooks" # # load local settings . ./.envrc.local ## tips