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 gitUpdater: update comment for url 2022-04-23 15:30:56 -04:00
http-two-levels-updater.nix httpTwoLevelsUpdater: init 2022-02-21 13:01:49 -03:00
nix-update.nix treewide: use nix-update updateScript for packages I maintain 2020-07-29 12:33:39 -04:00
scripts.nix treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
unstable-updater.nix unstableGitUpdater: fix inaccurate comments 2022-09-04 08:59:51 +00:00