flake-parts/setups/nixos: fix mkImage arguments

This commit is contained in:
Gabriel Arazas 2024-10-30 19:50:04 +08:00
parent 1ae023839d
commit e64d10f2aa
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -388,8 +388,11 @@ in
lib.nameValuePair lib.nameValuePair
"${name}-${format}" "${name}-${format}"
(mkImage { (mkImage {
inherit (metadata) nixpkgsBranch; inherit format system;
inherit system format; pkgs = import inputs.${metadata.nixpkgs.branch} {
inherit system;
inherit (metadata.nixpkgs) config;
};
extraModules = cfg.sharedModules ++ metadata.modules; extraModules = cfg.sharedModules ++ metadata.modules;
}); });