nix/pkgs: reduce memory hogging by not catching misbuilt openwrt images

This commit is contained in:
Astro 2022-05-31 21:57:43 +02:00
parent 8d6aedb5e3
commit dd3b956ef4
1 changed files with 1 additions and 3 deletions

View File

@ -75,11 +75,9 @@ let
let
image = openwrt.buildImage hostName;
in
if image != null
then images // {
images // {
"${hostName}-image" = image;
}
else images
) {} (
builtins.attrNames (
nixpkgs.lib.filterAttrs (_: { role, ... }: role == "ap")