make kernel builder callPackage'able

This commit is contained in:
Daniel Barlow 2022-09-25 22:02:45 +01:00
parent a7e54c087c
commit e29d009b2f
3 changed files with 20 additions and 4 deletions

View file

@ -16,7 +16,9 @@ let
;
};
squashfs = (import ./make-image.nix) nixpkgs finalConfig;
kernel = (import ./make-kernel.nix) nixpkgs finalConfig.kernel.config;
kernel = nixpkgs.pkgs.callPackage ./kernel {
inherit (finalConfig.kernel) config;
};
in {
outputs = {
inherit squashfs kernel;