From f92dcdecbb78d52de06b641332160e2483d0dc1d Mon Sep 17 00:00:00 2001 From: anntnzrb Date: Thu, 9 Oct 2025 00:29:41 -0500 Subject: [PATCH] fix: expose activation packages instead of configs in packages output `nix flake check` requires all `packages..*` to be derivations. The previous implementation exposed full home-manager configurations (attrsets) which caused validation to fail. Now extracting `.activationPackage` from each home configuration to satisfy the flake schema requirement. Fixes CI failure introduced in 012761f. --- snowfall-lib/flake/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snowfall-lib/flake/default.nix b/snowfall-lib/flake/default.nix index 89c8d4e..f0af68c 100644 --- a/snowfall-lib/flake/default.nix +++ b/snowfall-lib/flake/default.nix @@ -226,7 +226,7 @@ let value = flake-outputs.packages.${system} // { homeConfigurations = pipe homes [ (filterAttrs (_: home: home.system == system)) - (mapAttrs (home-name: _: flake-outputs.homeConfigurations.${home-name})) + (mapAttrs (home-name: _: flake-outputs.homeConfigurations.${home-name}.activationPackage)) (mapAttrs' ( name: value: nameValuePair (if hasSuffix "@${system}" name then removeSuffix "@${system}" name else name) value