1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-25 03:39:36 +01:00

Formatting

This commit is contained in:
Eelco Dolstra 2025-06-12 16:13:28 +02:00
parent 6477d7c2ca
commit 279a6b18db
3 changed files with 6 additions and 8 deletions

View file

@ -79,8 +79,7 @@ StorePath EvalState::mountInput(
std::optional<Hash> _narHash;
auto getNarHash = [&]()
{
auto getNarHash = [&]() {
if (!_narHash) {
if (store->isValidPath(storePath))
_narHash = store->queryPathInfo(storePath)->narHash;