forked from lix-project/lix
* Doh! The deriver can be empty.
This commit is contained in:
parent
044b6482c1
commit
2ea3bebc23
|
@ -826,7 +826,8 @@ Path LocalStore::importPath(bool requireSignature, Source & source)
|
|||
|
||||
PathSet references = readStorePaths(hashAndReadSource);
|
||||
|
||||
Path deriver = readStorePath(hashAndReadSource);
|
||||
Path deriver = readString(hashAndReadSource);
|
||||
if (deriver != "") assertStorePath(deriver);
|
||||
|
||||
Hash hash = hashAndReadSource.hashSink.finish();
|
||||
hashAndReadSource.hashing = false;
|
||||
|
|
Loading…
Reference in a new issue