Skip to content

Commit

Permalink
Move staging area to PRJ_ROOT/.cache
Browse files Browse the repository at this point in the history
I force tf cache to be in PRJ_ROOT, to guarantee i can access other files in repo using relative paths.
  • Loading branch information
oneingan authored Oct 17, 2024
1 parent 06d0440 commit 3a44b9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/std/fwlib/blockTypes/terra.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ in
export TF_PLUGIN_CACHE_DIR="$PRJ_CACHE_HOME/tf-plugin-cache"
mkdir -p "$TF_DATA_DIR"
mkdir -p "$TF_PLUGIN_CACHE_DIR"
dir="$PRJ_CACHE_HOME/${fragmentRelPath}/.tf"
dir="$PRJ_ROOT/.cache/${fragmentRelPath}/.tf"
mkdir -p "$dir"
cat << MESSAGE > "$dir/readme.md"
This is a tf staging area.
Expand Down

0 comments on commit 3a44b9f

Please sign in to comment.