From 51c7d172b353d85525dd4d417723a210beb23002 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 8 Apr 2026 02:46:49 +0000 Subject: [PATCH 1/2] Initial plan From 1a8a1736bf5f6ac4b9159e6f19161d4782b951ba Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 8 Apr 2026 02:48:59 +0000 Subject: [PATCH 2/2] fix: pre-resolve flake lock to staging-dev during installation Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/14550e27-a253-453b-b454-097575e924fa Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- iso/installer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iso/installer.py b/iso/installer.py index 698b492..008f3ce 100644 --- a/iso/installer.py +++ b/iso/installer.py @@ -966,7 +966,9 @@ class InstallerWindow(Adw.ApplicationWindow): if proc.returncode != 0: log(proc.stderr) raise RuntimeError(proc.stderr.strip() or "Failed to write deployed flake.nix") - run(["sudo", "rm", "-f", "/mnt/etc/nixos/flake.lock"]) + GLib.idle_add(append_text, buf, "Locking flake to staging-dev...\n") + run_stream(["sudo", "nix", "--extra-experimental-features", "nix-command flakes", + "flake", "lock", "/mnt/etc/nixos"], buf) GLib.idle_add(self.push_complete)