mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
Fix assertion failure in storePathToHash()
Fixes https://github.com/NixOS/nix/issues/2015.
This commit is contained in:
parent
6185d25e52
commit
e606cd412f
1 changed files with 2 additions and 0 deletions
|
@ -253,6 +253,8 @@ std::string Store::getUri()
|
||||||
|
|
||||||
bool Store::isValidPath(const Path & storePath)
|
bool Store::isValidPath(const Path & storePath)
|
||||||
{
|
{
|
||||||
|
assertStorePath(storePath);
|
||||||
|
|
||||||
auto hashPart = storePathToHash(storePath);
|
auto hashPart = storePathToHash(storePath);
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue