aboutsummaryrefslogtreecommitdiff
path: root/libs/nak/src/installers
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-04-01 15:31:43 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-04-01 15:31:43 -0500
commit45aefb63e84fd3c75be7b24264885a53f3fb44b8 (patch)
treeb702079f16be91eb7e170d608c3de9879976c10e /libs/nak/src/installers
parente92d166ce97a9335f0e16526b40dc5dc456c361c (diff)
Fix SLR download failures and CMake rebuild detection
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) <noreply@anthropic.com>
Diffstat (limited to 'libs/nak/src/installers')
-rw-r--r--libs/nak/src/installers/prefix_setup.rs6
1 files changed, 3 insertions, 3 deletions
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()),