use {pkg_root_path} for packages, otherwise containers get confused with different pkg_root_path set

This commit is contained in:
henderkes
2026-05-12 09:54:29 +07:00
parent a585359b28
commit 4172508cb9
4 changed files with 4 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ class zig
if ($file_hash !== $sha256) {
throw new DownloaderException("Hash mismatch for downloaded Zig binary. Expected {$sha256}, got {$file_hash}");
}
return DownloadResult::archive(basename($path), ['url' => $url, 'version' => $latest_version], extract: PKG_ROOT_PATH . '/zig', verified: true, version: $latest_version);
return DownloadResult::archive(basename($path), ['url' => $url, 'version' => $latest_version], extract: '{pkg_root_path}/zig', verified: true, version: $latest_version);
}
#[CustomBinaryCheckUpdate('zig', [