From a1080f2f6ae1610a0d7dccb03b89aa5549e0c544 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BChlbacher?= <tmuehlbacher@posteo.net>
Date: Fri, 21 Mar 2025 16:34:03 +0000
Subject: [PATCH] feat(nix): add a CI check that builds on 32-bit

Picked armv7l-linux but i686-linux would probably also work. Not sure
which one is more important to check for.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
---
 flake.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/flake.nix b/flake.nix
index c8225203..abb49a24 100644
--- a/flake.nix
+++ b/flake.nix
@@ -269,6 +269,8 @@
               }
             );
 
+          checks."32-bit" = config.packages."${cargoToml.package.name}-i686-linux";
+
           devShells.default = pkgs.mkShell {
             inputsFrom = [
               config.packages.default