about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/nar-bridge/pkg/pathinfosvc/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nar-bridge/pkg/pathinfosvc/server.go b/tvix/nar-bridge/pkg/pathinfosvc/server.go
index 116d06e6b6a9..464ca6f61b13 100644
--- a/tvix/nar-bridge/pkg/pathinfosvc/server.go
+++ b/tvix/nar-bridge/pkg/pathinfosvc/server.go
@@ -248,7 +248,7 @@ func (p *PathInfoServiceServer) Get(ctx context.Context, getPathInfoRequest *sto
 	// currently the root node has no name yet.
 	outPath, err := storepath.FromAbsolutePath(narInfo.StorePath)
 	if err != nil {
-		// unreachable due to nixpath.Check()
+		// unreachable due to narInfo.Check()
 		panic(err)
 	}
 	newName := []byte(nixbase32.EncodeToString(outPath.Digest) + "-" + string(outPath.Name))