The hashes are different.
# ./pre-inst-env guix-build -K attr
[...]
stripping binaries in
"/nix/store/iwvgjdll9yw44sixry38z003n1bzikz7-attr-2.4.46/lib" with
flags ("--strip-debug")
strip: '/nix/store/iwvgjdll9yw44sixry38z003n1bzikz7-attr-2.4.46/lib/libattr.so':
No such file
strip:/nix/store/iwvgjdll9yw44sixry38z003n1bzikz7-attr-2.4.46/lib/libattr.la:
File format not recognized
stripping binaries in
"/nix/store/iwvgjdll9yw44sixry38z003n1bzikz7-attr-2.4.46/libexec" with
flags ("--strip-debug")
strip:
'/nix/store/iwvgjdll9yw44sixry38z003n1bzikz7-attr-2.4.46/libexec/libattr.so':
No such file
strip:/nix/store/iwvgjdll9yw44sixry38z003n1bzikz7-attr-2.4.46/libexec/libattr.la:
File format not recognized
@ build-succeeded
/nix/store/kqzpbzr07yjfqa48kc7l8g2mampqm06n-attr-2.4.46.drv
/nix/store/iwvgjdll9yw44sixry38z003n1bzikz7-attr-2.4.46
/nix/store/iwvgjdll9yw44sixry38z003n1bzikz7-attr-2.4.46
# ./pre-inst-env guix-build -S attr
[...]
/nix/store/3hjm6k2zq0f2yvjgr61q7zs7386fyhpr-attr-2.4.46.src.tar.gz