difftreelog
feat introduce toplevel-fleet build attribute
in: trunk
3 files changed
cmds/fleet/src/cmds/build_systems.rsdiffbeforeafterboth222223#[derive(Parser, Clone)]23#[derive(Parser, Clone)]24pub struct BuildSystems {24pub struct BuildSystems {25 /// Attribute to build. Systems are deployed from "toplevel" attr, well-known used attributes25 /// Attribute to build. Systems are deployed from "toplevel-fleet" attr, well-known used attributes26 /// are "sdImage"/"isoImage", and your configuration may include any other build attributes.26 /// are "sdImage"/"isoImage", and your configuration may include any other build attributes.27 #[clap(long, default_value = "toplevel")]27 #[clap(long, default_value = "toplevel-fleet")]28 build_attr: String,28 build_attr: String,29}29}3030114114115 set.spawn_local(115 set.spawn_local(116 (async move {116 (async move {117 let built = match build_task(config.clone(), hostname.clone(), "toplevel").await117 let built = match build_task(config.clone(), hostname.clone(), "toplevel-fleet").await118 {118 {119 Ok(path) => path,119 Ok(path) => path,120 Err(e) => {120 Err(e) => {modules/nixos/module-list.nixdiffbeforeafterboth4 ./rollback.nix4 ./rollback.nix5 ./nix-sign.nix5 ./nix-sign.nix6 ./online.nix6 ./online.nix7 ./top-level.nix7]8]89modules/nixos/top-level.nixdiffbeforeafterbothno changes