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
--- a/crates/fleet-base/src/opts.rs
+++ b/crates/fleet-base/src/opts.rs
@@ -242,7 +242,7 @@
 		let builtins_field = Value::eval("builtins")?;
 
 		let fleet_root = flake.get_field("fleetConfigurations")?;
-		let fleet_field = nix_go!(fleet_root.default(Obj {}));
+		let fleet_field = nix_go!(fleet_root.default);
 
 		let config_field = nix_go!(fleet_field.config);
 
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: {