3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/common-updater
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
..
scripts common-updater-scripts: Use custom fake temporary hash 2022-09-16 18:36:01 +02:00
combinators.nix update-script-combinators.copyAttrOutputToFile: init 2022-09-07 14:23:28 +02:00
generic-updater.nix generic-updater: fix nix edit command line 2022-07-02 08:17:00 -03:00
git-updater.nix
http-two-levels-updater.nix
nix-update.nix
scripts.nix
unstable-updater.nix unstableGitUpdater: fix inaccurate comments 2022-09-04 08:59:51 +00:00