[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with guix copy
From: |
Emmanuel Medernach |
Subject: |
Problem with guix copy |
Date: |
Fri, 15 Mar 2024 10:14:20 +0100 |
User-agent: |
Mozilla Thunderbird |
Hello,
I have problems with guix copy: I have 2 machines Machine_A and
Machine_B. They both have the same channels. Machine_B is slow (I don't
want to recompile there, I would like to reuse the same packages from
Machine_A). Machine_A and Machine_B have limited connectivity,
Machine_A has only ssh access (I cannot use it as a substitute with guix
publish) and Machine_B has nothing.
I installed bazel on Machine_A:
Machine_A # guix install bazel
Machine_A # guix build bazel
/gnu/store/5i872l0ijm7vd9vk2knn67ai3daa6q68-bazel-6.4.0
Machine_A # readlink -f $GUIX_EXTRA_PROFILES/bazel/profile/bin/bazel
/gnu/store/5i872l0ijm7vd9vk2knn67ai3daa6q68-bazel-6.4.0/bin/bazel
I tried guix copy, but I have 2 problems:
First, Machine_B asks for a different hash that the one I have on
Machine_A (even if both have the same channels):
Machine_B # guix copy --from=Machine_A --dry-run bazel
guix copy: error: no such item on remote host 'Machine_A':
/gnu/store/6n69a11yjydwhb7p8kb6qg20nj5cxrg1-bazel-6.4.0
Second, when I try to copy the package with the hash from Machine_A I
get an error:
Machine_B # guix copy --from=Machine_A --dry-run
/gnu/store/5i872l0ijm7vd9vk2knn67ai3daa6q68-bazel-6.4.0
retrieving 1 store item from 'Machine_A'...
guix copy: error: implementation cannot deal with > 32-bit integers
How to use guix copy to transfer the same packages from one machine to
another ?
Here are my current channels:
(list (channel
(name 'guix-science)
(url "https://github.com/guix-science/guix-science.git")
(branch "master")
(commit
"61836bfd9c3a01b696142aabb625b0851d6fd536")
(introduction
(make-channel-introduction
"b1fe5aaff3ab48e798a4cce02f0212bc91f423dc"
(openpgp-fingerprint
"CA4F 8CF4 37D7 478F DA05 5FD4 4213 7701 1A37 8446"))))
(channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"7319b4d5286d31a9c6a889e81af72308efdaab41")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))
Thanks for your help
Best regards,
Emmanuel Medernach
- Problem with guix copy,
Emmanuel Medernach <=
Re: Problem with guix copy, Simon Tournier, 2024/03/19