Add support for parsing the flake.lock.

This commit is contained in:
Tom Alexander
2026-07-24 20:29:41 -04:00
parent 59fdbf41ef
commit 0addf91edf
8 changed files with 224 additions and 17 deletions

View File

@@ -17,6 +17,7 @@ pub(crate) async fn nixos_build_target<B, F, A, TN>(
flake_path: F,
attr: A,
target_name: TN,
build_id: i64,
) -> Result<()>
where
B: AsRef<Path>,
@@ -55,7 +56,7 @@ where
let child = command.spawn()?;
let mut running_build = RunningBuild::new(db_handle)?;
let mut running_build = RunningBuild::new(db_handle, build_id)?;
running_build.run_to_completion(child, target_name).await?;
Ok(())