mirror of
https://github.com/NixOS/nix.git
synced 2025-12-03 07:31:00 +01:00
Tarball fetcher: Include revCount/lastModified in the fingerprint
This can influence the evaluation result so they should be included in the fingerprint.
This commit is contained in:
parent
1ff186fc6e
commit
5b4102c3b2
2 changed files with 12 additions and 2 deletions
|
|
@ -419,7 +419,7 @@ namespace nlohmann {
|
|||
using namespace nix;
|
||||
|
||||
fetchers::PublicKey adl_serializer<fetchers::PublicKey>::from_json(const json & json) {
|
||||
fetchers::PublicKey res = { };
|
||||
fetchers::PublicKey res = { };
|
||||
if (auto type = optionalValueAt(json, "type"))
|
||||
res.type = getString(*type);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue