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.
This commit is contained in:
Carl Dong committed 2021-04-07 15:21:00 -04:00
1 parent 8f8b96fb54
commit 867a5e172a
2 files changed
+13 -1

No files matched your search

+3
View File
@@ -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}}"