diff --git a/flake-modules/updates/efmls-configs.nix b/flake-modules/updates/efmls-configs.nix index 64d7f74b..e443577b 100644 --- a/flake-modules/updates/efmls-configs.nix +++ b/flake-modules/updates/efmls-configs.nix @@ -58,11 +58,11 @@ let unknownTools = lib.filter (tool: !(lib.hasAttr tool packaged || lib.elem tool unpackaged)) toolList; in -assert lib.assertMsg (lib.length unknownTools == 0) - "The following tools are neither marked as unpackaged nor as packaged: ${ - lib.generators.toPretty { } unknownTools - }"; writeText "efmls-configs-sources.nix" ( + assert lib.assertMsg (lib.length unknownTools == 0) + "The following tools are neither marked as unpackaged nor as packaged: ${ + lib.generators.toPretty { } unknownTools + }"; "# WARNING: DO NOT EDIT\n" + "# This file is generated with packages..efmls-configs-sources, which is run automatically by CI\n" + (lib.generators.toPretty { } sources) diff --git a/flake-modules/updates/none-ls.nix b/flake-modules/updates/none-ls.nix index 7f6b3312..8a64284c 100644 --- a/flake-modules/updates/none-ls.nix +++ b/flake-modules/updates/none-ls.nix @@ -21,11 +21,11 @@ let unpackaged ++ noPackage ++ (lib.attrNames packaged) ); in -assert lib.assertMsg (lib.length undeclaredTool == 0) - "Undeclared tools: ${lib.generators.toPretty { } undeclaredTool}"; -assert lib.assertMsg (lib.length uselesslyDeclaredTool == 0) - "Tool is not supported upstream: ${lib.generators.toPretty { } uselesslyDeclaredTool}"; writeText "efmls-configs-sources.nix" ( + assert lib.assertMsg (lib.length undeclaredTool == 0) + "Undeclared tools: ${lib.generators.toPretty { } undeclaredTool}"; + assert lib.assertMsg (lib.length uselesslyDeclaredTool == 0) + "Tool is not supported upstream: ${lib.generators.toPretty { } uselesslyDeclaredTool}"; "# WARNING: DO NOT EDIT\n" + "# This file is generated with packages..none-ls-builtins, which is run automatically by CI\n" + (lib.generators.toPretty { } builtinSourceNames)