packages/activate-shell: provide REPO_DATA_DIR

This commit is contained in:
Max Headroom 2022-11-07 20:51:24 +01:00
parent d3a88dac15
commit eecb8d3322

View file

@ -1,4 +1,5 @@
export REPO_ROOT="$(git rev-parse --show-toplevel)"
export REPO_DATA_DIR="$REPO_ROOT/.data"
if ! has nix_direnv_version || ! nix_direnv_version 2.1.0; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.0/direnvrc" "sha256-FAT2R9yYvVg516v3LiogjIc8YfsbWbMM/itqWsm5xTA="
fi