remotestore: only the deriver's filename, not the full path
This commit is contained in:
parent
eeb71630af
commit
c157d8f91e
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue