checks/installation: fix NixOS configuration not having a system

This commit is contained in:
Michael Hoang
2025-09-25 23:20:43 +02:00
parent 356b0ab546
commit e4137a6876
4 changed files with 43 additions and 32 deletions

View File

@@ -1,5 +1,6 @@
{
self,
config,
...
}:
{
@@ -29,15 +30,17 @@
nodes = {
actual =
{ pkgs, ... }:
{ pkgs, lib, ... }:
let
dependencies = [
pkgs.stdenv.drvPath
pkgs.stdenvNoCC
self.nixosConfigurations.test-morph-machine.config.system.build.toplevel
(import ../installation/facter-report.nix pkgs.hostPlatform.system)
]
++ builtins.map (i: i.outPath) (builtins.attrValues self.inputs);
++ builtins.map (i: i.outPath) (builtins.attrValues self.inputs)
++ builtins.map (import ../installation/facter-report.nix) (
lib.filter (lib.hasSuffix "linux") config.systems
);
closureInfo = pkgs.closureInfo { rootPaths = dependencies; };
in