From cd60f55468aef60194f23b36c90a644d5c756c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dyego=20Aur=C3=A9lio?= Date: Wed, 14 Jan 2026 16:51:20 -0300 Subject: [PATCH] ci/nixf-diagnose: ignore prelude rules - avoid treewide cleanup due to these new rules - invalid nix code was getting auto fixed --- ci/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/default.nix b/ci/default.nix index 916b991b4ad0..540a0faea0ab 100644 --- a/ci/default.nix +++ b/ci/default.nix @@ -99,6 +99,13 @@ let "sema-unused-def-let" # Keep this rule, because we have `lib.or`. "or-identifier" + # TODO: remove after outstanding prelude diagnostics issues are fixed: + # https://github.com/nix-community/nixd/issues/761 + # https://github.com/nix-community/nixd/issues/762 + "sema-primop-removed-prefix" + "sema-primop-overridden" + "sema-constant-overridden" + "sema-primop-unknown" ]; }; settings.formatter.nixf-diagnose = {