Hi Simon, I'll specifically elaborate on the guix pull error in this e-mail, I follow-up on other items later (apologies my first e-mail as perhaps too busy!).
zimoun writes: > Hi, > > On Mon, 28 Dec 2020 at 17:52, Phil <p...@beadling.co.uk> wrote: > >> guix pull -p my-profile -l >> >> But this seems to crash: > > I am surprised. > Could you share how you generated the profile ’my-profile’? > Yes - the issue here appears to be the inclusion of a package from a private channel in the manifest. If I create a manifest only using Guix packages - everything looks OK - eg: ubuntu@test-image:~/guix-manifests$ cat test-manifest.scm (packages->manifest (list (specification->package "python@3.8.2"))) ubuntu@test-image:~/guix-manifests$ guix package -m test-manifest.scm -p ~/guix-profiles/test-profile The following package will be installed: python 3.8.2 The following derivation will be built: /gnu/store/yd7093md8q5xa1s3zn3nwmh9qcpnwpjr-profile.drv building CA certificate bundle... building fonts directory... building directory of Info manuals... building database for manual pages... building profile with 1 package... hint: Consider setting the necessary environment variables by running: GUIX_PROFILE="/home/ubuntu/guix-profiles/test-profile" . "$GUIX_PROFILE/etc/profile" Alternately, see `guix package --search-paths -p "/home/ubuntu/guix-profiles/test-profile"'. ubuntu@test-image:~/guix-manifests$ GUIX_PROFILE="/home/ubuntu/guix-profiles/test-profile" ubuntu@test-image:~/guix-manifests$ . "$GUIX_PROFILE/etc/profile" ubuntu@test-image:~/guix-manifests$ guix pull -p ~/guix-profiles/test-profile -l \Generation 1 Jan 04 2021 17:00:58\ (current) python 3.8.2 ubuntu@test-image:~/guix-manifests$ But if I now also add a package from my private channel to the manifest: ubuntu@test-image:~/guix-manifests$ cat test-manifest-2.scm (packages->manifest (list (specification->package "python@3.8.2") (@ (py-test-pkg) py-test-pkg-develop))) ubuntu@test-image:~/guix-manifests$ guix package -m test-manifest-2.scm -p ~/guix-profiles/test-profile The following packages will be installed: py-test-pkg 4.72-0.2aa0874 python 3.8.2 updating checkout of 'ssh://git@my-bitbucket/foo/py-test-pkg.git'... retrieved commit 2aa08749a7b7ab7995f9cdb7bb1842e9889a09d substitute: updating substitutes from 'http://my-substitutes:8080'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following derivation will be built: /gnu/store/qw745mdvy81ym9mwnx4khxafg2spclyw-py-test-pkg-4.72-0.2aa0874.drv building /gnu/store/qw745mdvy81ym9mwnx4khxafg2spclyw-py-test-pkg-4.72-0.2aa0874.drv... The following derivation will be built: /gnu/store/d0bzs0aly5bjy6lhwc7asc4m4s2lxlki-profile.drv building CA certificate bundle... building fonts directory... building directory of Info manuals... building database for manual pages... building profile with 2 packages... It installs OK but the same guix pull comamnd now fails: ubuntu@test-image:~/guix-manifests$ guix pull -p ~/guix-profiles/test-profile -l \Generation 1 Jan 04 2021 17:00:58\ python 3.8.2 \Generation 2 Jan 04 2021 17:03:48\ (current) py-test-pkg 4.72-0.2aa0874 python 3.8.2 Backtrace: 11 (primitive-load "/home/ubuntu/.config/guix/current/bin/…") In guix/ui.scm: 2127:12 10 (run-guix-command _ . _) In ice-9/boot-9.scm: 1736:10 9 (with-exception-handler _ _ #:unwind? _ # _) 1731:15 8 (with-exception-handler #<procedure 7f1e86b4f900 at ic…> …) 1731:15 7 (with-exception-handler #<procedure 7f1e86b4f8d0 at ic…> …) 1731:15 6 (with-exception-handler #<procedure 7f1e8877d480 at ic…> …) In guix/scripts/pull.scm: 636:4 5 (_) In guix/memoization.scm: 100:0 4 (_ #<hash-table 7f1e86b141c0 0/31> "/home/ubuntu/guix-…" …) In guix/scripts/pull.scm: 538:21 3 (_) In guix/inferior.scm: 256:2 2 (inferior-available-packages #f) 251:13 1 (send-inferior-request (defined? (quote #)) #f) In ice-9/boot-9.scm: 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f ubuntu@test-image:~/guix-manifests$ Despite this the test package did install correctly (py-test-pkg installs module example_project): ubuntu@test-image:~/guix-manifests$ which python3 /home/ubuntu/guix-profiles/test-profile/bin/python3 ubuntu@test-image:~/guix-manifests$ python3 -m example_project --myparam testing The parameter was: testing > Hope that helps, > simon