mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
17bc96df08
Previously, we only made `sed` back up the version replacement. This meant that `cmp` would already recognize the files as changed before replacing hash and the other values, and the error would not be printed. Let’s always make the `sed` create a backup so that we can detect success of each situation. This will no longer allow us to revert to the original version on failure but the updated file should be tracked in git anyway. |
||
---|---|---|
.. | ||
scripts | ||
combinators.nix | ||
generic-updater.nix | ||
git-updater.nix | ||
http-two-levels-updater.nix | ||
nix-update.nix | ||
scripts.nix | ||
unstable-updater.nix |