mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-10-26 13:03:04 +03:00
release.nix: Add kernels to the jobset
This does **not** add more work. This only adds more tracking. The kernels as used here *are already part of the builds*. By making them discrete components of the eval, we are now able to better track kernel build issues. Fixes #434
This commit is contained in:
parent
a97208ac2d
commit
dcd6549e86
11
release.nix
11
release.nix
@ -124,6 +124,16 @@ let
|
||||
)
|
||||
);
|
||||
|
||||
# `kernel` here is indexed by the system it's being built on first.
|
||||
# FIXME: can we better filter this?
|
||||
kernel = lib.genAttrs devices (device:
|
||||
lib.genAttrs systems (system:
|
||||
(evalWithConfiguration {
|
||||
nixpkgs.localSystem = knownSystems.${system};
|
||||
} device).config.mobile.boot.stage-1.kernel.package
|
||||
)
|
||||
);
|
||||
|
||||
examples-demo =
|
||||
let
|
||||
aarch64-eval = import ./examples/demo {
|
||||
@ -149,6 +159,7 @@ let
|
||||
in
|
||||
rec {
|
||||
inherit device;
|
||||
inherit kernel;
|
||||
inherit examples-demo;
|
||||
inherit doc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user