git.delta.rocks / jrsonnet / refs/commits / 45c49ea21363

difftreelog

feat introduce toplevel-fleet build attribute

xrlvrxmrYaroslav Bolyukin2026-01-22parent: #c653e89.patch.diff
in: trunk

3 files changed

modifiedcmds/fleet/src/cmds/build_systems.rsdiffbeforeafterboth
2222
23#[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 attributes
26 /// 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}
3030
114114
115 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").await
118 {118 {
119 Ok(path) => path,119 Ok(path) => path,
120 Err(e) => {120 Err(e) => {
modifiedmodules/nixos/module-list.nixdiffbeforeafterboth
4 ./rollback.nix4 ./rollback.nix
5 ./nix-sign.nix5 ./nix-sign.nix
6 ./online.nix6 ./online.nix
7 ./top-level.nix
7]8]
89
addedmodules/nixos/top-level.nixdiffbeforeafterboth

no changes