about summary refs log tree commit diff
path: root/tvix/nar-bridge/go.mod
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-05T15·28+0300
committerclbot <clbot@tvl.fyi>2023-10-07T02·06+0000
commit9c0d66197bfa60a0c14109a471b6bcdfd61247e1 (patch)
treedf705c367f6055d08d707e25215533ac9f90e462 /tvix/nar-bridge/go.mod
parent4bf541109a9e0a918420a8be1b10564b30edf117 (diff)
feat(tvix/nar-bridge): do pathInfo.Validate() as additional check r/6719
This should make it quite quick to spot writing code breaking some of
the assumptions we have on PathInfo messages ourselves.

Change-Id: I480caaec41f8ea5246c3c3081460c7ad12e78569
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9554
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/nar-bridge/go.mod')
-rw-r--r--tvix/nar-bridge/go.mod6
1 files changed, 3 insertions, 3 deletions
diff --git a/tvix/nar-bridge/go.mod b/tvix/nar-bridge/go.mod
index 628ceb8026c9..3fa9d568459e 100644
--- a/tvix/nar-bridge/go.mod
+++ b/tvix/nar-bridge/go.mod
@@ -2,14 +2,16 @@ module code.tvl.fyi/tvix/nar-bridge
 
 require (
 	code.tvl.fyi/tvix/castore/protos v0.0.0-20230922125121-72355662d742
-	code.tvl.fyi/tvix/store/protos v0.0.0-20230922125121-4251671e09c1
+	code.tvl.fyi/tvix/store/protos v0.0.0-20231005184258-5be346d3c195
 	github.com/alecthomas/kong v0.7.1
 	github.com/go-chi/chi v1.5.4
 	github.com/go-chi/chi/v5 v5.0.7
 	github.com/google/go-cmp v0.5.9
+	github.com/multiformats/go-multihash v0.2.1
 	github.com/nix-community/go-nix v0.0.0-20231005143722-b0f8b73c06df
 	github.com/sirupsen/logrus v1.9.0
 	github.com/stretchr/testify v1.8.1
+	github.com/ulikunitz/xz v0.5.11
 	google.golang.org/grpc v1.51.0
 	google.golang.org/protobuf v1.28.1
 	lukechampine.com/blake3 v1.1.7
@@ -21,11 +23,9 @@ require (
 	github.com/klauspost/cpuid/v2 v2.0.9 // indirect
 	github.com/minio/sha256-simd v1.0.0 // indirect
 	github.com/mr-tron/base58 v1.2.0 // indirect
-	github.com/multiformats/go-multihash v0.2.1 // indirect
 	github.com/multiformats/go-varint v0.0.6 // indirect
 	github.com/pmezard/go-difflib v1.0.0 // indirect
 	github.com/spaolacci/murmur3 v1.1.0 // indirect
-	github.com/ulikunitz/xz v0.5.11 // indirect
 	golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
 	golang.org/x/net v0.7.0 // indirect
 	golang.org/x/sys v0.5.0 // indirect