3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/common-updater/scripts
Jan Tojnar 31c2154465 common-updater-scripts: Use custom fake temporary hash
Some update scripts (e.g. sublime4) already use all-zeroes hashes
for resetting a version when updating multiple sources.
When `update-source-version "${attrPath}" 0 "${lib.fakeSha256}"`
was executed, u-s-v would not be able to detect that the hash
changed and would fail with the following message:

    Failed to replace temporary source hash of '…' to the final source hash!

The update script worked when we tested it because change detection itself
was broken until recently: https://github.com/NixOS/nixpkgs/pull/190554
2022-09-16 18:36:01 +02:00
..
list-archive-two-levels-versions
list-git-tags
mark-broken
update-source-version common-updater-scripts: Use custom fake temporary hash 2022-09-16 18:36:01 +02:00