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 );