1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-02 21:51:50 +02:00

More designated initializers

This commit is contained in:
John Ericson 2020-06-19 17:42:56 +00:00
parent 2f0e395c99
commit 911fc88bcb
6 changed files with 19 additions and 10 deletions

View file

@ -3764,7 +3764,10 @@ void DerivationGoal::registerOutputs()
else
assert(worker.store.parseStorePath(path) == dest);
ca = FixedOutputHash { i.second.hash->method, h2 };
ca = FixedOutputHash {
.method = i.second.hash->method,
.hash = h2,
};
}
/* Get rid of all weird permissions. This also checks that