Change Log
#444 fetch-release: add missing homedir to gpg command (@jonasnick)
Updating from 0.0.61 and 0.0.62
nix-bitcoin versions 0.0.61 and 0.0.62 contain a bug (fixed in #444) that breaks the update script. Therefore, in order to update you need to perform the following manual steps:
- Run
nix-shell
in your deployment directory. - Paste the following into the shell to fix the
fetch-release
script:
Note that we take the existingfetch-release() {( scriptDir=$(nix-instantiate --eval -E "<nix-bitcoin>") cd "$scriptDir/helper" <fetch-release sed 's|gpg --list-keys|gpg --homedir $GPG_HOME --list-keys|; s|scriptDir=.*|scriptDir=.|' | sh )}
fetch-release
script and usesed
to perform the fix from #444 and set the scriptDir. - Now you can run
update-nix-bitcoin
.