summaryrefslogtreecommitdiff
path: root/src/app/release.rs
diff options
context:
space:
mode:
authorDoan Luu Duc Tai <doan@luuduct.ai>2026-11-01 07:13:45 -0600
committerDoan Luu Duc Tai <doan@luuduct.ai>2026-11-01 07:13:45 -0600
commit9349a2de648e241da8e00ba7ae25cb2a877ff3e9 (patch)
tree2fea913ee0aaff4370877f4a91c911db2fe37592 /src/app/release.rs
parent5b89c370d5974f057306a52089f14c337565fd1d (diff)
feat(guix): carry prebuilt runtime and recover preserved state
Diffstat (limited to 'src/app/release.rs')
-rw-r--r--src/app/release.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/release.rs b/src/app/release.rs
index 268a3c2..40d8d72 100644
--- a/src/app/release.rs
+++ b/src/app/release.rs
@@ -47,6 +47,7 @@ pub(super) fn create(project: &Project, destination: &Path) -> Result<()> {
files::private_dir(&stage)?;
files::copy_source(&project.root, &stage)?;
crate::app::chat::copy_artifacts(project, &stage)?;
+ files::copy_runtime(&project.root, &stage)?;
fs::create_dir_all(stage.join("bin"))?;
fs::copy(
project
@@ -116,6 +117,7 @@ pub(super) fn activate(archive: &Path, project: &Project) -> Result<()> {
0o755,
)?;
crate::app::chat::copy_artifacts(&pending, &project.root)?;
+ files::copy_runtime(&stage, &project.root)?;
for name in ["images.tar", "image-lock.json"] {
files::copy_tree(
&stage.join("var").join(name),