config: fix nixpkgs import for mkImage

This should fix for image configurations that also make use of the
imported overlays.
This commit is contained in:
Gabriel Arazas 2023-07-14 19:58:15 +08:00
parent 1d44a40e36
commit 9d7584bc82
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -388,7 +388,7 @@
let let
system = metadata.system or defaultSystem; system = metadata.system or defaultSystem;
nixpkgs-channel = metadata.nixpkgs-channel or "nixpkgs"; nixpkgs-channel = metadata.nixpkgs-channel or "nixpkgs";
pkgs = import inputs."${nixpkgs-channel}" { inherit system; }; pkgs = import inputs."${nixpkgs-channel}" { inherit system overlays; };
format = metadata.format or "iso"; format = metadata.format or "iso";
in in
mkImage { mkImage {