From dd3b956ef400e9261f9e09a746b0124890e31e21 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 31 May 2022 21:57:43 +0200 Subject: [PATCH] nix/pkgs: reduce memory hogging by not catching misbuilt openwrt images --- nix/pkgs/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nix/pkgs/default.nix b/nix/pkgs/default.nix index b7f24cd..12ba55d 100644 --- a/nix/pkgs/default.nix +++ b/nix/pkgs/default.nix @@ -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")