mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
Fix the nix-community/patsh/0.2.1 flake regression test (again)
This commit is contained in:
parent
2aa3655166
commit
88cd82239e
1 changed files with 3 additions and 0 deletions
|
@ -228,6 +228,9 @@ void Input::checkLocks(Input specified, Input & result)
|
|||
if (auto prevNarHash = specified.getNarHash())
|
||||
specified.attrs.insert_or_assign("narHash", prevNarHash->to_string(HashFormat::SRI, true));
|
||||
|
||||
if (auto narHash = result.getNarHash())
|
||||
result.attrs.insert_or_assign("narHash", narHash->to_string(HashFormat::SRI, true));
|
||||
|
||||
for (auto & field : specified.attrs) {
|
||||
auto field2 = result.attrs.find(field.first);
|
||||
if (field2 != result.attrs.end() && field.second != field2->second)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue