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-05T15·26+0300
committerclbot <clbot@tvl.fyi>2023-10-05T18·47+0000
commit61e5a63fe1afcca76c05d9eedaea9fb3c8919101 (patch)
treef34bb7fe325090bf71baeca15d5efbbdc160bfa4 /tvix/nar-bridge/pkg/http/narinfo_get.go
parent600815c16846de7428f554313657e4f3f934fc0a (diff)
chore(tvix/nar-bridge): bump go-nix dependency r/6713
nixpath.FromString -> storepath.FromAbsolutePath.

See https://github.com/nix-community/go-nix/pull/113 for details.

Closes: https://b.tvl.fyi/issues/314
Change-Id: I25277fb6006cbbb2a323ffb5809a1be500822a97
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9551
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'tvix/nar-bridge/pkg/http/narinfo_get.go')
-rw-r--r--tvix/nar-bridge/pkg/http/narinfo_get.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/nar-bridge/pkg/http/narinfo_get.go b/tvix/nar-bridge/pkg/http/narinfo_get.go
index a03aff7339fc..93192c03e52e 100644
--- a/tvix/nar-bridge/pkg/http/narinfo_get.go
+++ b/tvix/nar-bridge/pkg/http/narinfo_get.go
@@ -19,7 +19,7 @@ import (
 	"github.com/nix-community/go-nix/pkg/narinfo"
 	"github.com/nix-community/go-nix/pkg/narinfo/signature"
 	"github.com/nix-community/go-nix/pkg/nixbase32"
-	"github.com/nix-community/go-nix/pkg/nixpath"
+	"github.com/nix-community/go-nix/pkg/storepath"
 	log "github.com/sirupsen/logrus"
 	"google.golang.org/grpc/codes"
 	"google.golang.org/grpc/status"
@@ -92,7 +92,7 @@ func renderNarinfo(
 	}
 
 	narInfo := narinfo.NarInfo{
-		StorePath:   path.Join(nixpath.StoreDir, string(nodeName)),
+		StorePath:   path.Join(storepath.StoreDir, string(nodeName)),
 		URL:         "nar/" + nixbase32.EncodeToString(narHash.Digest()) + ".nar",
 		Compression: "none", // TODO: implement zstd compression
 		NarHash:     narHash,