From: Rodrigo Morales <moralesrodrigo1100@gmail.com>
To: help-guix@gnu.org
Subject: Newbie: How to download mirror: links with wget?
Date: Fri, 1 Sep 2023 06:33:41 +0000 [thread overview]
Message-ID: <CAGxMbPaZ+MOZsp-csUKX3VCpJOzA_kF-Q0c8RUp-qWknYCvdtg@mail.gmail.com> (raw)
I suspect there's a bug with the =tracker= package, so I want to
investigate. To proceed, I decided to download the source of the
package (relevant part of the package =tracker= is shown below).
#+BEGIN_SRC elisp
(define-public tracker
(package
(name "tracker")
(version "3.4.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/tracker/"
(version-major+minor version) "/"
"tracker-" version ".tar.xz"))
(sha256
(base32
#+END_SRC
As you can see above, the url of =source= starts with =mirror=. I
thought that I could download such URL with =wget=. However, it seems
that =wget= cannot do that.
#+HEADER: :prologue "exec 2>&1"
#+HEADER: :epilogue ":"
#+begin_src sh
wget "mirror://gnome/sources/tracker/3.4.2/tracker-3.4.2.tar.xz"
echo $?
#+end_src
#+RESULTS:
#+begin_example
mirror://gnome/sources/tracker/3.4.2/tracker-3.4.2.tar.xz: Unsupported scheme.
1
#+end_example
My question is: How can I download the source of that package using
the same URL that is shown in the package definition (I want to make
sure that I'm downloading the same file that is used by the Guix
package definition).
next reply other threads:[~2023-09-01 6:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-01 6:33 Rodrigo Morales [this message]
2023-09-01 6:45 ` Newbie: How to download mirror: links with wget? (
2023-09-01 6:53 ` (
2023-09-01 7:06 ` Wojtek Kosior via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGxMbPaZ+MOZsp-csUKX3VCpJOzA_kF-Q0c8RUp-qWknYCvdtg@mail.gmail.com \
--to=moralesrodrigo1100@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).