aboutsummaryrefslogtreecommitdiff
path: root/contrib/guix/libexec/prelude.bash
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/guix/libexec/prelude.bash')
-rw-r--r--contrib/guix/libexec/prelude.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/guix/libexec/prelude.bash b/contrib/guix/libexec/prelude.bash
index 33a319012c..e6d3a5b722 100644
--- a/contrib/guix/libexec/prelude.bash
+++ b/contrib/guix/libexec/prelude.bash
@@ -58,3 +58,6 @@ VERSION_BASE="${version_base_prefix}${VERSION}" # TOP
DISTSRC_BASE="${DISTSRC_BASE:-${VERSION_BASE}}"
OUTDIR_BASE="${OUTDIR_BASE:-${VERSION_BASE}/output}"
+
+var_base_basename="var"
+VAR_BASE="${VAR_BASE:-${VERSION_BASE}/${var_base_basename}}"