diff options
author | Carl Dong <contact@carldong.me> | 2021-03-17 13:13:10 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-04-07 15:21:00 -0400 |
commit | 867a5e172a23899a4a70eca4a396c64f1951745e (patch) | |
tree | 9a6552df66a9207ace04cacb6f9b4f104f417bde /contrib/guix/libexec | |
parent | 8f8b96fb542701b7717683caa3848390b24f77ab (diff) | |
download | bitcoin-867a5e172a23899a4a70eca4a396c64f1951745e.tar.xz |
guix: Register garbage collector root for containers
By registering the container profiles as garbage collector roots, it
will prevent `guix gc` from garbage collecting derivations which our
container needs and inconvieniencing the user with a rebuild.
Diffstat (limited to 'contrib/guix/libexec')
-rw-r--r-- | contrib/guix/libexec/prelude.bash | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/guix/libexec/prelude.bash b/contrib/guix/libexec/prelude.bash index e6d3a5b722..971aebf2b0 100644 --- a/contrib/guix/libexec/prelude.bash +++ b/contrib/guix/libexec/prelude.bash @@ -61,3 +61,6 @@ OUTDIR_BASE="${OUTDIR_BASE:-${VERSION_BASE}/output}" var_base_basename="var" VAR_BASE="${VAR_BASE:-${VERSION_BASE}/${var_base_basename}}" + +profiles_base_basename="profiles" +PROFILES_BASE="${PROFILES_BASE:-${VAR_BASE}/${profiles_base_basename}}" |