Revert "nix: remove unused code from update.py" This reverts commit 48dfd73c91. nix: update local release pin function in update.py
48dfd73c91