about summary refs log tree commit diff
path: root/tvix/nar-bridge/pkg/http/narinfo_get.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-11T11·56+0200
committerflokli <flokli@flokli.de>2023-10-11T15·22+0000
commit155ab77cffbe8d3fe0c0b5d23416dd32fbdb1cff (patch)
treec0b87215b2b321051e29e985bd5edc9b1eed8df9 /tvix/nar-bridge/pkg/http/narinfo_get.go
parentfb04645b0d6242b1f75da0b2d20d3371a7a9be51 (diff)
refactor(tvix/nar-bridge): use mh.SHA2_256 r/6783
As correctly mentioned in
https://cl.tvl.fyi/c/depot/+/9652/comment/03b9b96e_bbb337fd/,
we shouldn't be using these magic constants, but pull them from where
they're defined.

This already is a dependency of go-nix, and pkg/pathinfosvc/server.go,
so no changes in go.mod.

Change-Id: I0cc41ce040fcbddf4b6171417bc9b0de55af4991
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9653
Tested-by: BuildkiteCI
Reviewed-by: Brian McGee <brian@bmcgee.ie>
Diffstat (limited to 'tvix/nar-bridge/pkg/http/narinfo_get.go')
0 files changed, 0 insertions, 0 deletions