Fix assertion failure in storePathToHash()
Fixes https://github.com/NixOS/nix/issues/2015.
This commit is contained in:
@@ -253,6 +253,8 @@ std::string Store::getUri()
|
||||
|
||||
bool Store::isValidPath(const Path & storePath)
|
||||
{
|
||||
assertStorePath(storePath);
|
||||
|
||||
auto hashPart = storePathToHash(storePath);
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user