Do not generate jobs for tftproot if it is known to fail
This commit is contained in:
parent
e16bd28785
commit
f5e671befb
|
@ -511,7 +511,7 @@
|
|||
"${host}-tftproot" =
|
||||
if config.system.build ? tftproot
|
||||
then config.system.build.tftproot
|
||||
else throw "No tftproot for ${host}";
|
||||
else lib.trace "No tftproot for ${host}" null;
|
||||
}
|
||||
) {} (builtins.attrNames self.nixosConfigurations)
|
||||
) self.legacyPackages;
|
||||
|
@ -1062,9 +1062,8 @@
|
|||
then nixosSystem.config.microvm.declaredRunner
|
||||
else nixosSystem.config.system.build.toplevel
|
||||
) self.nixosConfigurations
|
||||
//
|
||||
nixos.lib.filterAttrs (name: _:
|
||||
builtins.match ".+-tftproot" name != null
|
||||
// nixos.lib.filterAttrs (name: attr:
|
||||
(builtins.match ".+-tftproot" name != null && lib.isDerivation attr)
|
||||
) self.packages.aarch64-linux
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue