1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 19:57:59 +02:00

Check LockedInput::computeStorePath()

This commit is contained in:
Eelco Dolstra 2020-01-30 00:13:37 +01:00
parent b9fb372075
commit b9f93e7386
3 changed files with 8 additions and 3 deletions

View file

@ -25,9 +25,9 @@ nlohmann::json LockedInput::toJson() const
return json;
}
Path LockedInput::computeStorePath(Store & store) const
StorePath LockedInput::computeStorePath(Store & store) const
{
return store.printStorePath(store.makeFixedOutputPath(true, narHash, "source"));
return store.makeFixedOutputPath(true, narHash, "source");
}
LockedInputs::LockedInputs(const nlohmann::json & json)