Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
Guix build for x86_64-apple-darwin fails.
Expected behaviour
The build succeeds.
Steps to reproduce
0$ git checkout 94c307b3c0746a08c6135ff38d6f1ad1ed6693bb
1$ env SDK_PATH=/home/hebasto HOSTS=x86_64-apple-darwin ./contrib/guix/guix-build
Relevant log output
 0$ env SDK_PATH=/home/hebasto HOSTS=x86_64-apple-darwin ./contrib/guix/guix-build
 1Found macOS SDK at '/home/hebasto/Xcode-15.0-15A240d-extracted-SDK-with-libcxx-headers', using...
 2Checking that we can connect to the guix-daemon...
 3
 4Hint: If this hangs, you may want to try turning your guix-daemon off and on
 5      again.
 6
 7make: Entering directory '/home/hebasto/git/bitcoin/depends'
 8make[1]: Entering directory '/home/hebasto/git/bitcoin/depends'
 9make[1]: Leaving directory '/home/hebasto/git/bitcoin/depends'
10make: Leaving directory '/home/hebasto/git/bitcoin/depends'
11INFO: Building 94c307b3c074 for platform triple x86_64-apple-darwin:
12      ...using reference timestamp: 1725398870
13      ...running at most 4 jobs
14      ...from worktree directory: '/home/hebasto/git/bitcoin'
15          ...bind-mounted in container to: '/bitcoin'
16      ...in build directory: '/home/hebasto/git/bitcoin/guix-build-94c307b3c074/distsrc-94c307b3c074-x86_64-apple-darwin'
17          ...bind-mounted in container to: '/distsrc-base/distsrc-94c307b3c074-x86_64-apple-darwin'
18      ...outputting in: '/home/hebasto/git/bitcoin/guix-build-94c307b3c074/output/x86_64-apple-darwin'
19          ...bind-mounted in container to: '/outdir-base/x86_64-apple-darwin'
20      ADDITIONAL FLAGS (if set)
21          ADDITIONAL_GUIX_COMMON_FLAGS: 
22          ADDITIONAL_GUIX_ENVIRONMENT_FLAGS: 
23          ADDITIONAL_GUIX_TIMEMACHINE_FLAGS: 
24guix shell: error: cannot link profile: '/home/hebasto/.guix-profile' already exists within container
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
master@94c307b3c0746a08c6135ff38d6f1ad1ed6693bb
Operating system and version
Debian Bookworm
Machine specifications
RISC-V SBC.