diff --git a/tvix/nar-bridge/src/narinfo.rs b/tvix/nar-bridge/src/narinfo.rs index 448aebcd6..25022b89d 100644 --- a/tvix/nar-bridge/src/narinfo.rs +++ b/tvix/nar-bridge/src/narinfo.rs @@ -153,6 +153,10 @@ fn gen_narinfo_str(path_info: &PathInfo) -> String { path_info.nar_size, ); narinfo.url = &url; + + // Set FileSize to NarSize, as otherwise progress reporting in Nix looks very broken + narinfo.file_size = Some(narinfo.nar_size); + narinfo.to_string() }