From: zimoun <zimon.toutoune@gmail.com>
To: Xinglu Chen <public@yoctocell.xyz>
Cc: 51570@debbugs.gnu.org
Subject: [bug#51570] [PATCH] build-system: haskell: Add ‘hackage-uri’ procedure.
Date: Wed, 3 Nov 2021 11:29:26 +0100 [thread overview]
Message-ID: <CAJ3okZ1GW1TXnQ-GsGPHFnj8D0EYB3xC-vzPFjMFy+Jh9Dq1AA@mail.gmail.com> (raw)
In-Reply-To: <30e3db0aca5699b7d42f7107723e9dde4f16a5f7.1635871607.git.public@yoctocell.xyz>
Hi,
Thanks for this helpful patch.
On Tue, 2 Nov 2021 at 17:49, Xinglu Chen <public@yoctocell.xyz> wrote:
> +(define (hackage-uri name version)
> + "Return a URI string for the Haskell package hosted on Hackage corresponding
> +to NAME and VERSION."
> + (string-append "https://hackage.haskell.org/package/" name "/"
> + name "-" version ".tar.gz"))
It seems the correct way. Aside this change for future imports from
Hackage, does it make sense to replace the current 'string-append' in
all package definitions by this 'hackage-uri'?
Cheers,
simon
next prev parent reply other threads:[~2021-11-03 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-02 16:48 [bug#51570] [PATCH] build-system: haskell: Add ‘hackage-uri’ procedure Xinglu Chen
2021-11-03 10:29 ` zimoun [this message]
2021-11-05 11:52 ` Xinglu Chen
2021-12-01 15:32 ` bug#51570: " Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ3okZ1GW1TXnQ-GsGPHFnj8D0EYB3xC-vzPFjMFy+Jh9Dq1AA@mail.gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=51570@debbugs.gnu.org \
--cc=public@yoctocell.xyz \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.