--- a/nanobind-sys/build.rs Mon Jun 29 00:20:42 2026 +0300 +++ b/nanobind-sys/build.rs Sun Oct 04 13:02:26 2026 -0500 @@ -28,7 +28,7 @@ }) .map_err(|e| anyhow::Error::from(std::io::Error::from(e)))?; - let prefix = prefix_override.ok_or_else(|| pyc.prefix_path()).unwrap(); + let prefix = prefix_override.unwrap_or_else(|| pyc.prefix_path().unwrap()); let version = pyc.semantic_version().unwrap(); let nanobind_root = ({