From cf0e8fff6a14bcc4d0066020c5125b646cb09601 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 2 Mar 2026 23:22:08 +0100 Subject: [PATCH] test(nix-bindings-store): accept new Nix error format for invalid system builds Nix changed "required system or feature not available" to "platform mismatch". --- nix-bindings-store/src/store.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix-bindings-store/src/store.rs b/nix-bindings-store/src/store.rs index 655a088..cdd0977 100644 --- a/nix-bindings-store/src/store.rs +++ b/nix-bindings-store/src/store.rs @@ -788,7 +788,8 @@ mod tests { Err(e) => e.to_string(), }; assert!( - err.contains("required system or feature not available"), + err.contains("required system or feature not available") + || err.contains("platform mismatch"), "Error should mention system not available, got: {}", err );