Hello, I'm currently using Guix to package scientific articles from the scientific journal Rzine (https://rzine.fr/). These articles were written using RMarkdown.
I was able to build a functional manifest (i.e., one that works with a recent commit), but when I try to build it in the original context (circa 2023), I get the following error : #+BEGIN_QUOTE Initialized empty Git repository in /gnu/store/vicyxhp9kxpdgahy618bwpmf48nk0xw1-rzine-documentation-1.0- 1.1b52ccf-checkout/.git/ fatal: unable to access 'https://github.com/rzine-reviews/documentation/': Could not resolve host: github.com Failed to do a shallow fetch; retrying a full fetch... fatal: unable to access 'https://github.com/rzine-reviews/documentation/': Could not resolve host: github.com git-fetch: 'git fetch origin' failed with exit code 128 Trying content-addressed mirror at berlin.guix.gnu.org... Trying content-addressed mirror at berlin.guix.gnu.org... Trying to download from Software Heritage... Backtrace: 7 (primitive-load "/gnu/store/6zfq5gn1njfgf5grpsxbg03dyhj…") In ice-9/boot-9.scm: 152:2 6 (with-fluid* _ _ _) In ice-9/eval.scm: 619:8 5 (_ #(#(#<directory (guile-user) 7fffeffcdc80>))) In guix/swh.scm: 722:13 4 (swh-download "https://github.com/rzine-reviews/docume…" …) 255:22 3 (call "https://archive.softwareheritage.org/api/1/revi…" …) In web/client.scm: 476:29 2 (http-request "https://archive.softwareheritage.org/ap…" …) 332:9 1 (open-socket-for-uri _ #:verify-certificate? _) In unknown file: 0 (getaddrinfo "archive.softwareheritage.org" "https" 0 # …) ERROR: In procedure getaddrinfo: In procedure getaddrinfo: Name or service not known #+END_QUOTE How can I fix this problem? For context, here is the command I'm using : #+BEGIN_SRC guix time-machine -C channels.scm -- shell -m manifest.scm #+END_SRC As well as the content of manifest.scm file : #+BEGIN_SRC (define-module (rzine) #:use-module (guix) #:use-module (guix profiles) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages statistics) #:use-module (gnu packages cran) #:use-module (guix-cran packages c) #:use-module (guix-cran packages d) #:use-module (guix-cran packages e) #:use-module (guix-cran packages g) #:use-module (guix-cran packages m) #:use-module (guix-cran packages r) #:use-module (guix build-system copy)) (define-public rzine-documentation (let ((commit "1b52ccf6c7fc1413ecb2483e155082593953c71a") (revision "1")) (package (name "rzine-documentation") (version (git-version "1.0" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/rzine-reviews/documentation/") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "1wcc0al31k965m2mn4zn6ql1h1avgqk8211509n067dffikbgxlb")))) (build-system copy-build-system) (native-inputs (list r-minimal r-rmarkdown)) (arguments (list #:install-plan ''(("index.html" "share/doc/rzine- documentation.html")) #:phases #~(modify-phases %standard-phases (add-before 'install 'build (lambda _ (invoke "R" "-e" "library(rmarkdown); render(\"index.Rmd\")")))))) (home-page "https://doi.org/10.48645/HJVQ-YP94") (synopsis "TODO") (description "TODO") (license license:gpl3)))) (packages->manifest (list rzine-documentation)) #+END_SRC And the content of channels.scm file : #+BEGIN_SRC (list (channel (name 'guix) (url "https://git.guix.gnu.org/guix.git") (branch "master") (commit "f289fe316aaa06e60f4b10e75e113cf1aeb03629") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))) (channel (name 'guix-cran) (url "https://codeberg.org/guix-science/guix-cran.git") (commit "266be8df8f99f3a93317a251005e804ad389428e"))) #+END_SRC Thanks for your help, Mattia
signature.asc
Description: This is a digitally signed message part
