Add support for parsing the flake.lock.
This commit is contained in:
@@ -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(())
|
||||
|
||||
Reference in New Issue
Block a user