From 3d0d25d10792db0b78c2f120499a83bb0553b35a Mon Sep 17 00:00:00 2001 From: randomizedcoder Date: Sat, 5 Dec 2026 09:24:05 -0800 Subject: [PATCH] =?UTF-8?q?fix(nix):=20netlink-capture.nix=20under=20the?= =?UTF-8?q?=20flake's=20nixfmt=20=E2=80=94=20main=20red?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Main is red on the nix-fmt check: sockMatch's ''…'' string at nix/microvms/netlink-capture.nix:701 (landed in fabd9d7e3, PR #388) is reformatted by the pinned nixfmt to the double-quoted form — the string contains no double quote, so the current nixfmt prefers "…". Semantically identical: $ is not special in either Nix string form, and there is no interpolation. One line, formatting only. The red slipped through CI because the PR workflow runs lint-baseline alone; the full nix check suite is local-gated. It predates today's three merges (verified at the #395 merge commit 4a9a9345b). Gates: nix-fmt green with the fix; the rest of the suite already passed on this tree. Generated with [pi](https://github.com/badlogic/pi-mono) --- nix/microvms/netlink-capture.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/microvms/netlink-capture.nix b/nix/microvms/netlink-capture.nix index b98907f2d..b6164af74 100644 --- a/nix/microvms/netlink-capture.nix +++ b/nix/microvms/netlink-capture.nix @@ -698,7 +698,7 @@ let ''; sockAwkArgs = ''-v inodes="$(mon_inodes)" ''; sockBegin = ''BEGIN { n = split(inodes, a, " "); for (i = 1; i <= n; i++) mine[a[i]] = 1 } ''; - sockMatch = ''$2 == 0 && ($10 in mine)''; + sockMatch = "$2 == 0 && ($10 in mine)"; }; # xtcp2-nl-brmon ...