From 45aefb63e84fd3c75be7b24264885a53f3fb44b8 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Wed, 1 Apr 2026 15:31:43 -0500 Subject: Fix SLR download failures and CMake rebuild detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace SHA256SUMS verification with Content-Length check for SLR downloads. Valve's CDN frequently serves stale SHA256SUMS that don't match the current archive, causing persistent checksum mismatches. Fix CMake DEPENDS for nak_ffi to glob all .rs sources instead of hardcoding a few files — previously changes to slr.rs (and most other Rust files) were silently ignored by ninja. Also wrap prefix init and runtime commands through SLR pressure-vessel container, and expose Proton install directories to the container. Co-Authored-By: Claude Opus 4.6 (1M context) --- libs/nak/src/installers/prefix_setup.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/nak/src/installers') diff --git a/libs/nak/src/installers/prefix_setup.rs b/libs/nak/src/installers/prefix_setup.rs index 468aaa2..6c48b09 100644 --- a/libs/nak/src/installers/prefix_setup.rs +++ b/libs/nak/src/installers/prefix_setup.rs @@ -284,9 +284,9 @@ fn initialize_prefix_with_proton( log_install(&format!("STEAM_COMPAT_DATA_PATH={:?}", compat_data_path)); - // Collect all env vars upfront so build_command can forward them - // via --env= flags in Flatpak mode. - let mut envs: Vec<(&str, String)> = vec![ + // Collect all env vars upfront so build_command can set them on the + // process (inherited by SLR/pressure-vessel into the container). + let envs: Vec<(&str, String)> = vec![ ("STEAM_COMPAT_CLIENT_INSTALL_PATH", steam_root.clone()), ("STEAM_COMPAT_DATA_PATH", compat_data_path.display().to_string()), ("SteamAppId", app_id.to_string()), -- cgit v1.3.1