fix(nix): package HIP runner and script installer

This commit is contained in:
Kevin Yue committed 2026-09-29 12:10:27 +08:00
1 parent 739cf7234b
commit a91c04fa64
2 files changed
+29 -2

No files matched your search

+4 -1
View File
@@ -33,7 +33,10 @@ pub fn gp_vpnc_script_installer() -> PathBuf {
#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd"))]
pub fn gp_hip_script_installer() -> PathBuf {
PathBuf::from(GP_HIP_SCRIPT_INSTALLER_BINARY)
env::var_os("GP_HIP_SCRIPT_INSTALLER_BINARY")
.filter(|value| !value.is_empty())
.map(PathBuf::from)
.unwrap_or_else(|| PathBuf::from(GP_HIP_SCRIPT_INSTALLER_BINARY))
}
pub fn gpauth() -> PathBuf {