From c157d8f91effc099f47d35adc3b2e9266450a6eb Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Tue, 8 Nov 2022 12:33:17 +0000 Subject: [PATCH] remotestore: only the deriver's filename, not the full path --- go/nix/nixstore/remotestore.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/nix/nixstore/remotestore.go b/go/nix/nixstore/remotestore.go index c5a69b0eb2..04734c316d 100644 --- a/go/nix/nixstore/remotestore.go +++ b/go/nix/nixstore/remotestore.go @@ -61,6 +61,7 @@ func (d *Daemon) NARInfo(storePath string) (*narinfo.NarInfo, error) { if ni.Deriver, err = d.r.ReadString(); err != nil { return nil, fmt.Errorf("reading deriver: %w", err) } + ni.Deriver = path.Base(ni.Deriver) hashStr, err := d.r.ReadString() if err != nil {