From e64d10f2aac3031c07aaef8b4dc481f055cec072 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 30 Oct 2024 19:50:04 +0800 Subject: [PATCH] flake-parts/setups/nixos: fix mkImage arguments --- modules/flake-parts/setups/nixos.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/flake-parts/setups/nixos.nix b/modules/flake-parts/setups/nixos.nix index b93e9397..c384257f 100644 --- a/modules/flake-parts/setups/nixos.nix +++ b/modules/flake-parts/setups/nixos.nix @@ -388,8 +388,11 @@ in lib.nameValuePair "${name}-${format}" (mkImage { - inherit (metadata) nixpkgsBranch; - inherit system format; + inherit format system; + pkgs = import inputs.${metadata.nixpkgs.branch} { + inherit system; + inherit (metadata.nixpkgs) config; + }; extraModules = cfg.sharedModules ++ metadata.modules; });