From d6dbf1c905a264b725391f44e2423b972ebfa572 Mon Sep 17 00:00:00 2001 From: birdee Date: Tue, 12 Nov 2024 10:19:06 -0800 Subject: [PATCH] main builder error handling improvements --- builder/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/builder/default.nix b/builder/default.nix index 07b4bd9..4d99915 100644 --- a/builder/default.nix +++ b/builder/default.nix @@ -16,9 +16,7 @@ let else (nixpkgs.config or {}) // extra_pkg_config; overlays = if isList dependencyOverlays then dependencyOverlays - else dependencyOverlays.${system} or - (if isNull dependencyOverlays then [] - else import ./builder_error.nix); + else dependencyOverlays.${system} or []; in if isAttrs nixCats_passthru && isFunction categoryDefinitions && isAttrs packageDefinitions && isString name then import (nixpkgs.path or nixpkgs.outPath or nixpkgs)