From 5703f2aad56247e35478fbb0c4a0a53362793f65 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 1 Jun 2026 16:56:28 +0000 Subject: [PATCH] mistral-rs: 0.8.0 -> 0.8.3 Diff: https://github.com/EricLBuehler/mistral.rs/compare/v0.8.0...v0.8.3 Changelog: https://github.com/EricLBuehler/mistral.rs/releases/tag/v0.8.3 --- pkgs/by-name/mi/mistral-rs/package.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/mi/mistral-rs/package.nix b/pkgs/by-name/mi/mistral-rs/package.nix index 79b3ae825d7c..760ba33786d0 100644 --- a/pkgs/by-name/mi/mistral-rs/package.nix +++ b/pkgs/by-name/mi/mistral-rs/package.nix @@ -20,7 +20,6 @@ versionCheckHook, - testers, mistral-rs, nix-update-script, @@ -74,13 +73,14 @@ let in rustPlatform.buildRustPackage (finalAttrs: { pname = "mistral-rs"; - version = "0.8.0"; + version = "0.8.3"; + __structuredAttrs = true; src = fetchFromGitHub { owner = "EricLBuehler"; repo = "mistral.rs"; tag = "v${finalAttrs.version}"; - hash = "sha256-WuDvD2ifk0AtB4fpgLqQSiXVfb/50M9oIuz738pdsis="; + hash = "sha256-Ohkr45VXuXB7Ms8igZxQ7shrJa3+WBVT1fNYlc6JvZQ="; }; patches = [ @@ -96,7 +96,7 @@ rustPlatform.buildRustPackage (finalAttrs: { "lto = false" ''; - cargoHash = "sha256-MzGU62v6ZvVzTN7Ra+zz1uNlk4ul09YG5Hbj2A7hZbY="; + cargoHash = "sha256-ZwUCzbRpDgT7KwsT9kPGsGp4iU/0I+lrMFqM3UCwkYw="; nativeBuildInputs = [ pkg-config @@ -185,6 +185,17 @@ rustPlatform.buildRustPackage (finalAttrs: { "--skip=gguf::gguf_tokenizer::tests::test_encode_decode_llama" "--skip=util::tests::test_parse_image_url" "--skip=utils::tiktoken::tests::test_tiktoken_conversion" + + # Spawn a nested sandbox (bubblewrap-like) which fails inside the nix build sandbox + "--skip=callbacks_outlive_manager_executor_tempdir" + "--skip=sandboxed_session_can_execute_python" + "--skip=sandboxed_session_default_policy_can_execute_python" + + # Linux namespace / seccomp tests require capabilities the nix build sandbox blocks + "--skip=network_none_blocks_socket" + "--skip=rlimit_nproc_caps_processes" + "--skip=seccomp_blocks_ptrace" + "--skip=unshare_is_denied_inside_child" ]; nativeInstallCheckInputs = [