Hi! When trying to upgrade package `snap 6.9.0` from Guix commit `404f6953` to `snap 7.0.3` from commit `4a943cfd`, the build fails with the following output: ``` The following package will be upgraded: snap 6.9.0 -> 7.0.3 The following derivations will be built: /gnu/store/5r399grsmannnm1bxxnk5p35m9hcnvy6-profile.drv /gnu/store/m266r46jhbggn6vp0y6vqj62hb2z3kfs-snap-7.0.3.drv /gnu/store/8sw6g5r83nh2x1pnsqxzz0073q47vrf6-snap-7.0.3-checkout.drv building /gnu/store/8sw6g5r83nh2x1pnsqxzz0073q47vrf6-snap-7.0.3-checkout.drv... \r:sha256 hash mismatch for /gnu/store/6b47h0yqs6c1w2yylwlhzbn9w4kr31cr-snap-7.0.3-checkout: expected hash: 0wqncxqin9g4y15i82qscz0v2fc1br68m6dx47jn4h4kjkmwxccb actual hash: 0l4gws2x9rcgpj9h2wrri3sa4sn3j0q5648jpspyiwlwallp6gbv hash mismatch for store item '/gnu/store/6b47h0yqs6c1w2yylwlhzbn9w4kr31cr-snap-7.0.3-checkout' build of /gnu/store/8sw6g5r83nh2x1pnsqxzz0073q47vrf6-snap-7.0.3-checkout.drv failed View build log at '/var/log/guix/drvs/8s/w6g5r83nh2x1pnsqxzz0073q47vrf6-snap-7.0.3-checkout.drv.bz2'. cannot build derivation `/gnu/store/m266r46jhbggn6vp0y6vqj62hb2z3kfs-snap-7.0.3.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/5r399grsmannnm1bxxnk5p35m9hcnvy6-profile.drv': 1 dependencies couldn't be built guix package: error: build of `/gnu/store/5r399grsmannnm1bxxnk5p35m9hcnvy6-profile.drv' failed ``` The contents of `/var/log/guix/drvs/8s/w6g5r83nh2x1pnsqxzz0073q47vrf6-snap-7.0.3-checkout.drv.bz2` are: ``` guile: warning: failed to install locale environment variable `PATH' set to `/gnu/store/9q9z91mvc1r3h8zmi135msv3j1dgv2js-gzip-1.10/bin:/gnu/store/z3vphwqzvihprnwgb99gra8xnf0hl9yr-tar-1.34/bin' hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /gnu/store/6b47h0yqs6c1w2yylwlhzbn9w4kr31cr-snap-7.0.3-checkout/.git/ From https://github.com/jmoenig/Snap * tag v7.0.3 -> FETCH_HEAD Note: switching to 'FETCH_HEAD'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 14f468c improved arity control for JOIN ``` Maybe the upstream Snap maintainer changed the repo commit where the tag `v7.0.3` points at after the Guix package definition was updated? Thanks! -- Ivan Vilata i Balaguer -- https://elvil.net/