git.delta.rocks / fleet / refs/commits / 347078813131

difftreelog

feat fleetConfiguration is not longer a function

mzxqtyzyYaroslav Bolyukin2026-07-07parent: #14689aa.patch.diff

2 files changed

modifiedcrates/fleet-base/src/opts.rsdiffbeforeafterboth
242 let builtins_field = Value::eval("builtins")?;242 let builtins_field = Value::eval("builtins")?;
243243
244 let fleet_root = flake.get_field("fleetConfigurations")?;244 let fleet_root = flake.get_field("fleetConfigurations")?;
245 let fleet_field = nix_go!(fleet_root.default(Obj {}));245 let fleet_field = nix_go!(fleet_root.default);
246246
247 let config_field = nix_go!(fleet_field.config);247 let config_field = nix_go!(fleet_field.config);
248248
modifiedlib/flakePart.nixdiffbeforeafterboth
28 apply =28 apply =
29 nameToModule:29 nameToModule:
30 mapAttrs (30 mapAttrs (
31 name: module: data:31 name: module:
32 let32 let
33 # To use user-provided nixpkgs, we first need to extract wanted nixpkgs attribute,33 # To use user-provided nixpkgs, we first need to extract wanted nixpkgs attribute,
34 # to do that, evaluate all the modules with only needed option declared.34 # to do that, evaluate all the modules with only needed option declared.
60 { inputs, ... }:60 { inputs, ... }:
61 {61 {
62 config = {62 config = {
63 data = if isPath data then import data else data;63 data = { };
64 nixpkgs.buildUsing = mkOptionDefault bootstrapNixpkgs;64 nixpkgs.buildUsing = mkOptionDefault bootstrapNixpkgs;
65 nixpkgs.overlays = [65 nixpkgs.overlays = [
66 (final: prev: {66 (final: prev: {